Node.js (https://nodejs.org/en/)
Apollo (https://www.apollographql.com/)
Graphql (https://graphql.org/)
React (https://reactjs.org/)
Clone main repository and run cd sovtech
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/
Backend Server Dependencies run npm install && npm install graphql
Client/Frontend Dependencies run npm run client:install
*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
npm run sovtech
Frontend: navigate to http://localhost:3000
Backend: navigate to http://localhost:4000/graphiql
Write Tests