This repository contains the front-end interface for the Condo Space Reservation application, built using SvelteKit. The application is designed to streamline the reservation of public spaces in condominiums.
hooks.server.ts
file is configured to check this cookie for every request, ensuring secure access to the application.The front-end interface communicates with a .NET Web API that is connected to a MongoDB database. The API handles all the backend logic, including user authentication, data storage, and retrieval.
To get started with the project, follow these steps:
Clone the Repository:
git clone https://github.com/feuvpi/reservation-app.git
cd condo-space-reservation-interface
Install Dependencies:
npm install
Start the Development Server:
npm run dev
Open the Application: Open your browser and navigate to http://localhost:3000 to view the application.
Make sure to configure the API endpoint in your environment variables. Create a .env file in the root of the project with the following content:
VITE_API_BASE_URL=http://your-api-url.com
Replace http://your-api-url.com with the actual URL of your .NET Web API.
Contributions are welcome! Please open an issue or submit a pull request if you have any suggestions or improvements.