https://github.com/kir-dev/epitesz-klub
https://github.com/kir-dev/epitesz-klub
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kir-dev/epitesz-klub
- Owner: kir-dev
- Created: 2024-11-22T16:50:56.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-12-10T18:51:33.000Z (7 months ago)
- Last Synced: 2025-12-11T05:43:53.423Z (7 months ago)
- Language: TypeScript
- Homepage: https://epitesz-klub.vercel.app
- Size: 2.63 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Építész Klub Web
The project runs on Next.js, with built-in Payload Headless CMS.
## Install Guide
To run the project, you need to give your database URI within the `.env` file. You can use the Docker Compose file in the root of the project to host a postgres server. In that case, the `.env` file would look something like this:
```
DATABASE_URI=postgresql://:@127.0.0.1:5432/
PAYLOAD_SECRET=
POSTGRES_USER=
POSTGRES_PASSWORD=
POSTGRES_DB=
```
The secret can be any given string (e.g. `1234`)
To install the dependencies of all the packages, be sure to have Yarn installed:
```bash
npm install --global yarn
```
Install dependencies with Yarn:
```bash
yarn
```
To run the project:
```bash
yarn dev
```
After completing setup, and after making changes to the payload configuration or collections, run the following command to generate the typescript types:
```bash
payload generate:types
```
The CMS is available on the `/admin` sub route. When hosting on a new db, you will need to make a new user before you can use the CMS.