This is my source code for my final thesis in school. It's a clone of Instagram with a React front-end and a GraphQL backend. I been using the DGS framework(by Netflix) to build the GraphQL server.
To Run the project:
Docker is needed to run the databases.
- Clone the project
- Run the docker-compose-database-config
- Login to the pgAdmin on http://localhost:5050/ and create 3 databases with the names "image", "user" and "post"
- Start the cdn-image-server, cdn-story-server, dgs-post and dgs-user projects
- Open up the federation-gateway project and run npm install to download and install all the dependencies
- Run npm start to start the gateway
- Open up the frontend project and run npm install to download and install all the dependencies
- Run npm start to start the frontend
You can now access the website on http://localhost:3000/
You can also access the Apollo Gateway on http://localhost:4000/ to check out the GraphQL schema and documentation.