Skip to content

Latest commit

 

History

History
61 lines (42 loc) · 1.09 KB

README.md

File metadata and controls

61 lines (42 loc) · 1.09 KB

Yummy Sweet Restaurant CLI App

This project is for users who are able to browser menu and book a table with CRUD operations, such as View bookings, Add a booking, Update a booking and Delete a booking

Technical use

I develop an application use skills below:

- Python 
- SQL
- SQLAlchemy
- SQLite
- Migration with Alembic

Getting Started

  1. First of all, you need to install dependency
pipenv install
  1. Run the application, you need to start a main entry point. You will see some of questions to ask you to do next step
python3 main.py 

How to set up database

  1. Set up Database
alembic init 
  1. install Alembic with pipenv
pipenv install alembic
  1. initialize Alembic
alembic init alembic
  1. Configure Alembic in the alambic.ini
sqlalchemy.url = sqlite:///your_database.db

Learning Resources