https://github.com/wanicolas/roomie
Online room booking app made for our "Mastère" in Web development at Ynov.
https://github.com/wanicolas/roomie
Last synced: about 2 months ago
JSON representation
Online room booking app made for our "Mastère" in Web development at Ynov.
- Host: GitHub
- URL: https://github.com/wanicolas/roomie
- Owner: wanicolas
- License: mit
- Created: 2025-01-09T22:15:50.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-02-27T22:07:29.000Z (3 months ago)
- Last Synced: 2025-03-12T21:23:38.136Z (2 months ago)
- Language: C#
- Homepage:
- Size: 24.1 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Développement local du projet Roomie
Roomie is a room booking wep application.
This project uses Nuxt with NuxtUI and TailwindCSS (itegrated with NuxtUI) for the frontend.
For the backend, it uses a Dotnet8.0 solution with a PostgreSQL database.Look at the [Nuxt documentation](https://nuxt.com/docs/getting-started/introduction) to learn more.
Look at the[Dotnet documentation] (https://learn.microsoft.com/en-us/dotnet) to learn more## Frontend setup
Make sure to install dependencies:
```bash
# npm
npm install# pnpm
pnpm install# yarn
yarn install# bun
bun install
```## Development Server
Start the development server on `http://localhost:3000`:
```bash
# npm
npm run dev# pnpm
pnpm dev# yarn
yarn dev# bun
bun run dev
```## Production
Build the application for production:
```bash
# npm
npm run build# pnpm
pnpm build# yarn
yarn build# bun
bun run build
```Locally preview production build:
```bash
# npm
npm run preview# pnpm
pnpm preview# yarn
yarn preview# bun
bun run preview
```Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information.
The frontend makes its request on port 5184 as it is the one Dotnet uses.
## Backend setup
Make sure to restore the solution:
```bash
dotnet restore
```Run the solution on `http://localhost:5184`:
```bash
dotnet run
```## Use the application
Admin connexion:
"email": "[email protected]",
"password": "Admin123!"When connected as an admin, you can visit `http://localhost:3000/admin` to read, update, create or delete rooms.
To book a room, you can register then login with the links in the header.
After the login, you can search for an available room and book it. It will then be shown in you account profile page.