Giter Club home page Giter Club logo

parrking-backend-mongo-express's Introduction

parking-management-backend-express

parking-management-backend-express

Backend Readme:

Prerequisite: A free MongoDB Atlas(https://cloud.mongodb.com/) and also install Campass for desktop DB Setup:

  1. Open create a cluster.
  2. Click on Connect and then Click on Connect Using MongoDB Campass, Copy the url and paste in Compass, add your password in field. Once it is connected, you will find 2 dummy collections local and users.
  3. in Atlas click on connect again and then on connect your application. Copy the Url. We will use it later.

Project setup:

  1. Clone the repo and do npm install
  2. In config folder, open config.env file. Enter the copied URL in above step in MONG_URL field.
  3. enter password in field and add db name (parking) in
  4. in terminal enter npm run dev. A console message Connected to mongo db will be displayed indicates project is setup.

For sample initialisation of parking zones and parking spaces you can either use Frontend Initialize section or run seeder.js. In console type node seeder -i to import sample user Data in db and node seeder -d to delete all data in db and other collections in db.

(run seeder -i to import User Data before sigining in through FE)

Click the below link to view the api documentation. https://documenter.getpostman.com/view/12796081/TVev55Gk

parrking-backend-mongo-express's People

Contributors

juzorabbit avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.