https://github.com/timurkr/eventer
https://github.com/timurkr/eventer
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/timurkr/eventer
- Owner: TimurKr
- Created: 2024-01-10T16:08:21.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-06T22:05:40.000Z (over 1 year ago)
- Last Synced: 2025-03-06T22:28:30.591Z (over 1 year ago)
- Language: TypeScript
- Homepage: https://atelier-marosa-kramara.vercel.app
- Size: 1.82 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Service Management App
This application allows you to create services, sell tickets, and manage events and contacts effectively.
## Getting Started
These instructions will get you a copy of the project up and running on your local machine for development purposes.
### Prerequisites
You need to have Node.js and npm installed on your machine. If you don't have these installed, you can download them from [here](https://nodejs.org/en/download/).
### Setting Up
1. **Environment Variables**: Create a `.env` file in the root directory of the project and add the following variables:
```env
# Connecting to Supabase with supabase-js
# Get these values from your project settings on https://app.supabase.com
NEXT_PUBLIC_SUPABASE_URL=https://.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=
PG_URI="postgres://postgres.:@aws-0-eu-central-1.pooler.supabase.com:5432/postgres?pgbouncer=true"
```
Replace `` and `` with the actual values from your Supabase project.
2. **Running the App**: You can start the development server using the VSCode debugger or by running the following command in your terminal:
```sh
npm run dev
```
### Development Workflow
- **Database Changes**: If you make any changes to the database, run the following command to update the Supabase client and sync RxDB schemas:
```sh
npm run generate:all
```
- **Before Pushing Changes**: Vercel builds a preview for each commit on all branches. Therefore, before committing your changes, make sure to build the project locally to ensure there are no build errors:
```sh
npm run build
```
## Contributing
Contributions are welcome from everyone! If you're interested in contributing, create an issue before working on a pull request.