Skip to content

lucasaugustodeveloper/api_restful_ws

Repository files navigation

API Restful Node e MySQL

Development API with Node(Restify) and MySQL

Folder Structure

.
|__ src/
|   |__ http/
|   |   |__ routes/
|   |   |   |__ auth/
|   |   |   |   |__ auth.route.js
|   |   |   |__ categories/
|   |   |   |   |__ categories.route.js
|   |   |   |__ home/
|   |   |   |   |__ home.route.js
|   |   |__ loadRoutesByPath.js
|   |   |__ routes.js
|   |__ server/
|   |   |__ services/
|   |       |__ mysql
|   |           |__ auth/
|   |           |   |__ index.js
|   |           |__ categories/
|   |           |   |__ index.js
|   |           |__ helpers/
|   |           |   |__ index.js
|   |           |__ tests/
|   |           |   |__ auth.test.js
|   |           |   |__ categories.test.js
|   |           |   |__ setup.js
|   |           |   |__ users.test.js
|   |           |__ users/
|   |           |   |__ index.js
|   |           |__ index.js
|   |__ cors.js
|   |__ index.js
|   |__ jwtMiddleware.js
|__ .editorconfig
|__ .env.simple
|__ .eslintrc.json
|__ .gitignore
|__ .travis.yml
|__ package.json
|__ README.md
|__ tables.sql
|

Clone this Project

$ git clone https://github.com/laugustofrontend/api_restful_ws.git

Prepare ambient

$ cd api_restful_ws
$ npm install or npm i
$ mysql -u userDB -p < tables.sql

Execute tests

$ npm run test or npm test

Execute Project

$ npm run dev

About

Desenvolvimento de uma API em Node e MySQL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published