Skip to content

g1llz/api-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node ~ API

A simple boilerplate to start your new API. It has JWT auth and a user registry using mySQL

how to use

npm install to get dependences
copy and rename .env.example to .env, and put your configs ..
create user table and user (with admin role) in your DB (necessary to the get token)

finally, npm run dev to go!

user table schema

-- id
-- email
-- password
-- role

enjoy!~

About

A simple node API for testing! 🍩

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published