Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jtanguy/foursfeir
https://github.com/jtanguy/foursfeir
Last synced: 23 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jtanguy/foursfeir
- Owner: jtanguy
- Created: 2023-02-07T16:19:21.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-21T12:33:56.000Z (2 months ago)
- Last Synced: 2024-10-21T17:11:09.538Z (2 months ago)
- Language: TypeScript
- Homepage: https://foursfeir.vercel.app
- Size: 985 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FourSFEIR
A little openspace booking app
## Features
- Social login with google
- Multiple rooms, a.k.a. cities
- Self booking for full days, mornings or afternoons
- Temporary guests on a booking
- Book other colleagues if they forgot## Development
Prerequisites :
- Install [gcloud CLI](https://cloud.google.com/sdk/docs/install?hl=fr)
- Init gcloud with `gcloud init`
- Set up Application Default Credentials for a local development environnement by `gcloud auth application-default login`
- Copy `.env.example` to`.env`, fill environnement variables.To run this locally, make sure your project's local dependencies are installed:
```sh
npm ci
```Afterwards, start the Remix development server like so:
```sh
npm run dev
```Open up [http://localhost:3000](http://localhost:3000) and you should be ready to go!
### Create an index on datastore
Run this command
```
cloud datastore indexes create YOUR_INDEX_FILE
```## Migration
Extract each tables to a csv file and put it inside the `scripts/data` folder.
Run `npx zx scripts/seed.mjs` to migrate the data
Option : --reset to delete all data
## Deploying
If you're familiar with deploying Node applications, the built-in Remix app server is production-ready.
Make sure to deploy the output of `npm run build`
- `build/server`
- `build/client`## Links
- [Remix Docs](https://remix.run/docs)
- [Vercel](https://vercel.com/docs)
- [Supabase](https://supabase.com/docs)
- [Pico.css](https://picocss.com/docs)
- [React-icons](https://react-icons.github.io/react-icons/icons?name=fi)