rest-api-mysql
Description
This projects is example Api with mysql database without ORM.
Requirements
- node >= 12
- npm >= 6
install
'npm install'
Using
- write your database
s options, port, secret to the .env file (in project
s 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'