Skip to content

πŸͺ A Restful API for managing an online store, built using the FastAPI framework.

License

Notifications You must be signed in to change notification settings

wesleybertipaglia/store-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

81 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸͺ Store API

A Restful API for managing an online store, built using the FastAPI framework.

Features:

  • βœ… Sign-up & Sign-in
  • βœ… Create and Customize your profile
  • βœ… Create, Update, Delete your own products
  • βœ… Create, Read, Delete your own orders
  • βœ… Update your own orders until it's paid
  • βœ… Search and filter products
  • βœ… Make and track your orders
  • βœ… Rate and review products
  • βœ… Get notifications about your orders

πŸ“š Table of Contents

To know more about the project structure, check the structure.md file.

πŸ€– Getting Started

  1. Clone the repository
git clone https://github.com/wesleybertipaglia/store-api.git
  1. Initialize and Activate the virtual environment
Make init
source venv/bin/activate
  1. Install the dependencies and init the alembic
Make setup
  1. Run the application
Make run

πŸš€ Open your browser and go to http://localhost:8000 to see the api in action.

🧞 Commands

All commands are run from the root of the project, from a terminal:

Command Action
make init Initialize the virtual enviroment
source venv/bin/activate Activate the virtual enviroment
make setup Install dependencies and init the alembic
make freeze Update the dependencies
make run Starts the application
make alembic-migrate Make an alembic migration
make alembic-upgrade Make an alembic upgrade
make alembic-downgrade Make an alembic downgrade

To know more about the commands, check the commands.md file.

πŸͺ§ Endpoints

The API has the following endpoints:

  • /auth: Sign-up and Sign-in
  • /profile: Read, Update, Delete
  • /users: Read
  • /products: Create, Read, Update, Delete
  • /orders: Create, Read, Update, Delete

To know more about the endpoints, check the endpoints.md file, or access the API documentation in the following URL: localhost:8000/docs

🧩 Tech Stack

To know more about the tech stack, check the stack.md file.

β˜‘οΈ Cheklist

The following checklist can be used to track the project progress:

  • Authentication
  • Authorization
  • Documentation
  • Tests
  • Docker
  • CI/CD
  • Deploy
  • Monitoring

πŸ“œ License

This repository is licensed under the [MIT]. See the LICENSE file for details.

Back to top

About

πŸͺ A Restful API for managing an online store, built using the FastAPI framework.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages