Dein Buch. Dein Match.
Ensure the following are installed on your system:
-
Clone the repository:
git clone <repository-url> cd <repository-folder>/backend
=> make sure you are in the backend folder in the terminal, for example: C:\git\bookmatch\backend>
-
Install dependencies:
npm install
-
Database Setup: The database file will be automatically generated (db/database.sqlite).
=> make sure you are in the backend folder in the terminal, for example: C:\git\bookmatch\backend>
node server.js
The server should now be running at http://localhost:3000.
-
Navigate to the Frontend Folder:
cd <repository-folder>/frontend
-
Serve the Frontend:
- Install this VS Code extension: https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer
- Press the "GO Live" Button (as shown on the website of the extension)
- Open http://127.0.0.1:5500/frontend/ in your browser.