This is challenge-1 I got while applying for internship at reunion.
Develop a social media REST API, with given endpoints.
- Node.js
- Typescript
- Express.js
- PostgreSQL
- Prisma (ORM)
- Docker
NOTE: Make sure you have docker and docker-compose installed in your system.
- At the root of the project ccreate a ``.env ` file, and add the following code to it:
DATABASE_URL="postgresql://reunion:reunion@database:5431/reunion"
PORT=3000
JWT_SECRET_KEY=06250810f24bc862f4b519429dcef83580eaab9af9ef36ccaf0aaa6785fd46b50cd4200db837602097c1ba6c8d591f434bd49cc7c31d0b0df69666f37f788d6b
- Run the following command to run the project.
docker-compose up -d --build
Use this postman collection to test the project, this workspace has all the essentials setted up for testing the api.
If this postman collection is not accessible, please import collection and environment to your postman app, using the files given at the root of the project.