Skip to content

A simple backend node.js project for uploading and editing photos

Notifications You must be signed in to change notification settings

BarisDilekci/pcat

Repository files navigation

pcat

pcat

Steps to Run the Project

  1. In the project's root directory, initialize a package.json file by running the following command:
  2. Clone Github Repo:
git clone https://github.com/kullaniciadi/pcat.git
cd pcat
  1. In the project's root directory, initialize a package.json file by running the following command:

    npm init
  2. If necessary, update dependencies in the project by running the following command:

    npm update -y
    docker build -t pcat .
    docker compose up
  3. Check MongoDB:

    docker ps
    docker exec -it <mongo_container_id> mongo
    
  4. After entering the MongoDB shell, check the database and collections:

    use pcat-test-db
    show collections
    db.photos.find().pretty()
  5. Open your web browser and go to localhost:3001.

About

A simple backend node.js project for uploading and editing photos

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published