Notes API is a RESTful backend service that allows users to manage notes. It provides endpoints for creating, reading, updating, and deleting notes.
- Node.js
- Express.js
- Prisma ORM
- PostgreSQL
Create a new PostgreSQL database for the application on your local machine or a remote server.
Create a .env file with the following content:
DATABASE_URL="postgresql://<username>:<password>@<host>:<port>/<dbname>?schema=public"
Replace <username>
, <password>
, <host>
, <port>
, and <dbname>
with your actual PostgreSQL database credentials and information.
npx prisma migrate dev --name init
npm install
npm start
Puede descargar el archivo de pruebas haciendo click Aqui.