An open API service indexing awesome lists of open source software.

https://github.com/hackinggate/social-activities-web


https://github.com/hackinggate/social-activities-web

Last synced: 5 months ago
JSON representation

Awesome Lists containing this project

README

          

# Social Activities Web

[![GitHub Super-Linter](https://github.com/HackingGate/social-activities-web/workflows/Lint%20Code%20Base/badge.svg)](https://github.com/marketplace/actions/super-linter)

## Getting Started

### 1. Download project and install dependencies

Download this project:

```bash
git clone https://github.com/HackingGate/social-activities-web.git
```

Install npm dependencies:

```bash
cd social-activities-web
yarn install
```

Generate prisma and nexus:

```bash
yarn generate
```

### 2. Database

Create mongodb and fill `DATABASE_URL` in .env

Seed

```bash
npx prisma db seed
```

### 3. Configure Authentication Providers

Fill `NEXTAUTH_SECRET` in .env

```bash
openssl rand -base64 32
```

Fill `EMAIL_FROM`, `EMAIL_SERVER` in .env

### 4. Start the app

```bash
yarn run dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.