Skip to content

Jeck0v/Cobalt-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cobalt e-commerce PWA - Back-end

Start the app:

Clone the project:

git clone https://github.com/Jeck0v/Cobalt-backend.git

Stating app with:

docker compose up --build

For Swagger:
http://localhost:5000/swagger/

For Mongo-Express:
http://localhost:8081/

The db is only initialized in the express-mongo when the request is received, so when a user creates an account, the request creates the db with the user collection.

How to fix the known error:

If you have mongo dependency failed to start: container mongo is unhealthy or any error from storage:
Please make this:

docker compose down -v 
rm -rf storage/
docker compose up --build

🙇 Authors: