/Flask-CrudApp

It is a Flask Application for CRUD operations on MongoDB for a User resource using a REST API.

Primary LanguagePython

Steps to run this application locally

  1. Clone this repository in to your local machine
git clone <url>
  1. Make sure that python is installed in your machine
python --version
  1. Create a Virtual Enviromrent
virtualenv <name_of_your_env>
  1. Activate virtual environment
.\<name_of_your_env>\Scripts\activate
  1. Install all packages
pip install -r requirements.txt
  1. Your server will run on http://127.0.0.1:5000/
  2. Import Postman collection in postman.
  3. Run all requests.

Routes

  1. POST http://127.0.0.1:5000/users feild= {name , email ,password}
  2. GET http://127.0.0.1:5000/users get all users