Skip to content

TingChiehLin/CLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published