Simple node rest API with mysql connection.
- npm install
- Change config.example.js to config.js and past your settings (need your host, your user, your password, your socket, jswt secret key)
- Update your sql query (in my case it was in users controller)
- You need to login first of all ro get some response from getAllUsers controller or get info from Posts test Controller
- All you need is adding your controllers and update db
- DataBase i put in project folder with name rest.sql