Coder Social home page Coder Social logo

fastapi-backend-notes's Introduction

Notes Backned

Backend using Fastapi + Mongodb

Feature

  1. CRUD(Create,Read,Update,Delete,) Opration On NOTES
  2. User Signup and login
  3. JWT Based Login
  4. Encryption Password for Security (Trust me i will not read your email)

HOW TO USE

  1. Clone Repo
  2. open Terminal in Clone repo dict
  3. Install requirements.txt pip install -r requirements.txt
  4. fastapi dev start.py

Route - All value in Json

  1. For create User - http://127.0.0.1:8000/user/createuser (POST)

Required Body Value

  1. username

  2. password

  3. email

  4. Date -optional (Will Take Current Time)

  5. For Login User - http://127.0.0.1:8000/user/login (GET)

Required Body Value

  1. username
  2. password

WIll return auth_token

  1. For Fetch user info - http://127.0.0.1:8000/user/getuser NO login Required (GET)

Required Body Value

  1. username
  2. password

Required Header

  1. auth-token

WIll return user info

  1. For create Note info - http://127.0.0.1:8000/note/createnote NO login Required (POST)

Required Body Value

  1. Title
  2. Desc
  3. Tag -default vale Gen
  4. Date -optional (Will Take Current Time)

Required Header

  1. auth-token

  2. For Fetch All Note of a User - http://127.0.0.1:8000/note/fetchnote NO login Required (GET)

Required Header

  1. auth-token

  2. For Update Note of a User - http://127.0.0.1:8000/note/updatenote/ NO login Required (PUT)

Required Path

  1. id (Notes id)

Required Body Value

Any Value u need to update

Required Header

  1. auth-token

  2. For Delate Note of a User - http://127.0.0.1:8000/note/deletenote/ NO login Required (DELETE)

Required Path

  1. id (Notes id)

Required Header

  1. auth-token

fastapi-backend-notes's People

Contributors

yash1375 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.