This project is a single-page application (SPA) built with Flask on the backend and Vue.js on the frontend. It allows users to add, edit, and delete books.
-
Add Books: Users can add new books to the list.
-
Edit Books: Users can update details of existing books.
-
Delete Books: Users can remove books from the list.
-
Python 3.x
-
Node.js and npm
Fork the repository on GitHub, then clone your fork to your local machine:
$ git clone https://github.com/issa-suleiman/book-manager-vue-flask.git
$ cd book-manager-vue-flask
Open a terminal window and navigate to the server directory. Create and activate a virtual environment, install dependencies, and run the Flask app:
$ cd server
$ python3 -m venv env
$ source env/bin/activate
$ pip install -r requirements.txt
$ flask run --port=5001 --debug
The server will be running at http://localhost:5001.
Open a different terminal window and navigate to the client directory. Install dependencies and run the development server:
$ cd client
$ npm install
$ npm run dev
The client will be running at http://localhost:5173.