yamyn / rest-api-mysql

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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'

About


Languages

Language:JavaScript 60.3%Language:HTML 38.5%Language:TSQL 1.1%