/rest-api-mysql

Primary LanguageJavaScript

rest-api-mysql

Commitizen friendly onix

Description

This projects is example Api with mysql database without ORM.

Requirements

  • node >= 12
  • npm >= 6

install

'npm install'

Using

  • write your databases options, port, secret to the .env file (in projects root is .env.sample file)
  • 'npm run createdb' (add new database and table for users)
  • 'npm start'

get start with browser

   'localhost:3000/v1/users'