Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/topagrume/scia_website
https://github.com/topagrume/scia_website
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/topagrume/scia_website
- Owner: TopAgrume
- Created: 2024-10-13T18:37:49.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-10-23T12:54:53.000Z (2 months ago)
- Last Synced: 2024-10-23T23:13:12.838Z (2 months ago)
- Language: TypeScript
- Size: 7.48 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# EPITA SCIA Major Website
This project is a Next.js application with Prisma ORM and PostgreSQL database.
## Prerequisites
- Node version: 22.9.0
- npm version: 10.9.0
- Docker and Docker Compose## Setup
1. Clone the repository:
```
git clone
cd /front
```2. Install dependencies:
```
npm install
```3. Set up environment variables:
- Update the values in `.env` as needed```
NODE_ENV="development" // or "production"
DATABASE_URL="postgresql://myuser:mypassword@localhost:5432/mydb?schema=public"
NEXT_PUBLIC_API_URL="http://localhost:3000/api"
```1. Start the PostgreSQL database:
```
docker-compose up -d
```2. Update the database schema:
```
npm run db:update
```## Running the application
Start the development server:
```
npm run dev
```## Formatting
```bash
npm run lint # eslint check
npm run format # eslint and prettier fix
```