-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from devmusiczz/main
docs: added README.md file
- Loading branch information
Showing
1 changed file
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Review App - Backend Repo | ||
This repository contains the backend code for the Review App project. | ||
|
||
[![Screenshot-86.png](https://i.postimg.cc/pXzH9rcC/Screenshot-86.png)](https://postimg.cc/9rmSKmhw) | ||
##### This project is divided into two repositories: | ||
1. [Review App Frontend](https://github.com/piyushgarg-dev/review-app) | ||
2. Review App Backend (You are here) | ||
|
||
Go to [this repository](https://github.com/piyushgarg-dev/review-app) to know more about the project. | ||
|
||
## Environment Setup : | ||
|
||
1. Pre-requisites : | ||
|
||
a. Clone the Repo : `git clone https://github.com/piyushgarg-dev/review-app-api.git` | ||
b. Move to backend foler : `cd review-app-api` | ||
c. 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 -d` | ||
f. Setup Backend by running command : `yarn` | ||
|
||
2. Create a `.env.local` file in the project's root directory | ||
|
||
3. The `.env.local` file should consist of : | ||
|
||
`DATABASE_URL=postgresql://postgres:password@localhost:5432/review | ||
JWT_SECRET=superman123` | ||
|
||
4. Run Migrations by running command : `yarn migrate:latest` | ||
|
||
5. Run Backend server by running command : `yarn local` | ||
|
||
CONGRATULATIONS! your backend starts running on http://localhost:8000/local/graphql | ||
|
||
## Communication Channels | ||
|
||
If you have any questions, need clarifications, or want to discuss ideas, feel free to reach out through the following channels: | ||
|
||
- [Discord Server](https://discord.com/invite/YuUjtrufmT) | ||
- [X(formerly Twitter)](https://twitter.com/piyushgarg_dev) | ||
|
||
We appreciate your contributions and look forward to working with you to make this project even better! | ||
|
||
## Best Contributors | ||
|
||
<div align="center"> | ||
<a href="https://github.com/piyushgarg-dev/review-app-api/graphs/contributors"> | ||
<img src="https://contrib.rocks/image?repo=piyushgarg-dev/review-app-api&anon=1" /> | ||
</a> | ||
</div> |