This is a simple API to maintain employee information.
The API documentation is available at https://www.postman.com/juliocanizalez/employee-management/overview
- Node.js LTS/Iron
- NPM
- Docker (optional)
npm install
- (Optional) Update the dockerfile with the correct values and run the following command to build the image that will contain the database.
docker build -t employee-maintenance-db .
- Use the .env.sample file to create a .env file with the correct values.
cp .env.sample .env
- Run the prisma database migration.
npx prisma migrate dev --name init
npm run dev