Skip to content

deaobruno/catalog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker

If you haver Docker configured in your local machine, use the following command to build the containers:

docker-compose up -d

Shell

Otherwise, to build the services in your local machine, you may run each one e a separate terminal window, using the following commands: (* Remember to configure .env files using .env-example located in each service's root)

cd services/{service name}
npm install
npm run dev

After that, you may access each service with the following addresses:

Auth
localhost:8081/auth
Users
localhost:8082/users
Products
localhost:8083/products
Endpoints documentation

You may follow the same steps mentioned above to run the documentation server

cd services/docs
npm install
npm run dev

And access the docs page at:

localhost:8084/docs

Technologies used:

NodeJS

  • express - Web framework for Node.js
  • nodemon - Monitor for changes in Node.js applications and automatically restart the server
  • express-validator - An express.js middleware for validator.js
  • body-parser - Node.js body parsing middleware
  • mongoose - MongoDB object modeling for Node.js
  • eslint - Find and fix problems in your JavaScript code
  • jsonwebtoken - JsonWebToken implementation for Node.js
  • bcrypt - bcrypt for Node.js
  • axios - Promise based HTTP client for the browser and Node.js
  • dotenv - Loads environment variables from .env for Node.js projects
  • express-openapi - An OpenAPI framework for express.js
  • swagger-ui-express - Middleware to serve the Swagger UI bound to your Swagger document
  • js-yaml - JavaScript YAML parser and dumper

About

Product's catalog RESTful API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published