Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/bryanberger98/lodge-v2
- Owner: BryanBerger98
- License: mit
- Created: 2023-07-03T17:21:13.000Z (over 1 year ago)
- Default Branch: develop
- Last Pushed: 2023-12-18T09:28:32.000Z (11 months ago)
- Last Synced: 2024-05-31T15:33:50.660Z (6 months ago)
- Topics: authjs, aws-s3, jwt, mongodb, mongoose, nextjs, radix-ui, react, s3-bucket, shadcn-ui, swr, tailwindcss, typescript
- Language: TypeScript
- Homepage: https://lodge.bryanberger.dev
- Size: 1.92 MB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 36
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
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.