This repository contains the backend code for the Review App project.
- Review App Frontend
- Review App Backend (You are here)
Go to this repository to know more about the project.
-
Pre-requisites :
a. Clone the Repo :
git clone https://github.com/piyushgarg-dev/review-app-api.gitb. Move to backend foler :cd review-app-apic. Install and Setup Docker d. Run Docker in background
e. Run this command to run "docker-compose.yml" file in detach mode :docker compose up -df. Setup Backend by running command :yarn -
Create a
.env.localfile in the project's root directory -
The
.env.localfile should consist of :DATABASE_URL=postgresql://postgres:password@localhost:5432/review JWT_SECRET=superman123 -
Run Migrations by running command :
yarn migrate:latest -
Run Backend server by running command :
yarn local
CONGRATULATIONS! your backend starts running on http://localhost:8000/local/graphql
If you have any questions, need clarifications, or want to discuss ideas, feel free to reach out through the following channels:
We appreciate your contributions and look forward to working with you to make this project even better!
