Skip to content

taskNode/nodejs-junior

Repository files navigation

Node.js recruitment task - junior

This repository contains the base code for recruitment exercise. Complete the tasks listed below and publish the solution on your github. Send us a link to your repository at least 1 day before the interview. We will discuss the proposed solution during the interview. You should be ready to present the working application on your local machine.

There is some key features that must be implemented in the recruitment task:

  • CRUD operations for customers (get, update, delete) by id or email;

  • login and signup operations;

  • sign authorization access token;

Installation

# Install packages
npm install

npx prisma generate

Local database

# Setup local postgres
docker run --name recruitment-task -e POSTGRES_PASSWORD=docker -p 5432:5432 -d postgres:11.16

#create .env file with your local database credentials

# Run migration
npx prisma migrate dev

# Run db seed
npx prisma db seed

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors