It is an API that creates, lists and updates song playlists and songs in public or private mode for authenticated users. It also has the functionality to create and list users and login.
This app was built using TypeScript, Express, Prisma and PostgreSQL.For authentication users we used JWT and for API documentation I used Postman.
- TypeScript (v. 4.9.4) Source
- Express (v. 4.18.2) Source
- Prisma (v. 4.9.0) Source
- nodemon (v. 2.0.20) Source
- cors (v. 2.8.5) Source
- dotenv (v. 16.0.3) Source
- jsonwebtoken (v. 9.0.0) Source
- bcrypt (v. 5.1.0) Source
- concurently (v. 7.6.0) Source
- ts-node (v. 10.9.1) Source
- tslib (v. 2.4.1) Source
To run this project, you will need to add the following environment variables to your .env file
DATABASE_URL
PORT
JWT_SECRET
Clone the project
git clone https://github.com/Geffrerson7/PLAYLIST-API.git
Go to the project directory
cd PLAYLIST-API
Install dependencies
npm install
Make migrations
npx prisma migrate dev
Run project
npm run dev