Skip to content

Clearbryan/sovtech

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dependencies

Node.js (https://nodejs.org/en/)
Apollo (https://www.apollographql.com/)
Graphql (https://graphql.org/)
React (https://reactjs.org/)

Usage

Clone main repository and run cd sovtech

Environment variables

Create Environment variables by running a simple command. Command syntax npm run env:generate ${ENV_VARNAME}={ENV_VARKEY} ${ENV_VARNAME}={ENV_VARKEY} . You can chain all the environment variables in one command separated by spaces
Example env script generation for this project:

npm run env:generate NODE_ENV=development PORT=4000 API_URI=https://swapi.dev/api/people/

Installing Dependencies

Backend Server Dependencies run npm install && npm install graphql
Client/Frontend Dependencies run npm run client:install

Build GraphQL Schema

*Note (You have to have the Grahpql server running (npm run server) before running the following command)
npm run schema:download && npm run schema:generate-watch

Start App

npm run sovtech

Test App

Frontend: navigate to http://localhost:3000
Backend: navigate to http://localhost:4000/graphiql

TODO

Write Tests

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages