Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/bryanberger98/lodge-v2

NextJS starter boilerplate for web applications.
https://github.com/bryanberger98/lodge-v2

authjs aws-s3 jwt mongodb mongoose nextjs radix-ui react s3-bucket shadcn-ui swr tailwindcss typescript

Last synced: about 23 hours ago
JSON representation

NextJS starter boilerplate for web applications.

Awesome Lists containing this project

README

        

# Lodge

## Getting Started

First, clone the repository:

```bash
git clone [email protected]:BryanBerger98/lodge-v2.git
```

Install dependencies:

```bash
npm i
```

Configure the environment variables by renaming `.env.example` by `.env.local`:

```env
# Rename .env.local

# MONGODB CONFIG
DB_USER=
DB_PASSWORD=
DB_NAME=
DB_CLUSTER=

# EMAIL SERVER CONFIG
EMAIL_HOST=
EMAIL_PORT=
EMAIL_USER=
EMAIL_PASS=
EMAIL_FROM=

# SECURITY AND AUTH CONFIG
JWT_SECRET=
CSRF_SECRET=
FRONT_URL=
NEXTAUTH_URL=

# AWS S3 BUCKET CONFIG
BUCKET_NAME=
BUCKET_ACCESS_KEY_ID=
BUCKET_SECRET_ACCESS_KEY=
BUCKET_REGION=
BUCKET_POLICY_VERSION=

# APP NAME
APP_NAME=
NEXT_PUBLIC_APP_NAME=

# ENVIRONMENT
NEXT_PUBLIC_ENVIRONMENT=
ENVIRONMENT=
```

Finaly run the development server:

```bash
npm run dev
# or
yarn dev
```

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