This is the fullstack app for the Apollo tutorial. 🚀
The app is split out into two folders:
start: Starting point for the tutorialfinal: Final version
From within the start and final directories, there are two folders (one for server and one for client).
- Ensure Python 3 is installed.
- To check if installation exists, open command prompt and type in
py. - You should see python version and some other information.
- In the last line you should see three chevrons (
>>>). This indicates python shell window is activated (also known as IDLE)
- To check if installation exists, open command prompt and type in
- Delete
package-lock.jsonfile - Open
package.jsonand underdependenciesreplace"sqlite3": "^4.0.3"with"sqlite3": "^5.0.0" - Open terminal at project location and navigate to
./start/server/location - Run the command
npm installto install all the dependencies - Now follow the tutorial at https://www.apollographql.com/docs/tutorial/introduction/
To run the app, run these commands in two separate terminal windows from the root:
cd final/server && npm i && npm startand
cd final/client && npm i && npm start