Skip to content

msruan/laboras-next

Repository files navigation

Laboras (Next)

A Laboras fullstack clone made in Next.js

Related

Reach the main repository of Laboras project

Features

  • Posts CRUD
  • Profiles, follow users

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

MONGO: Connection string used by mongoose to access your database on MongoDB Atlas

SERVER_URL: Current URL where your app is running

APP_PRIVACY_MODE: Used to define if the app access is restricted. If you choosen "private", you need to set a list of allowed usesrs (current just on APP_PRIVATE_GITHUB_USERS), otherwhise "public" will allow everyone access.

APP_PRIVATE_GITHUB_USERS: List of GitHub account IDs separated by comma of the allowed users to access your app on private mode.

AUTH_SECRET: Secret used by Auths.js to encode the JWT and encrypt things in transit. More info

GITHUB_SECRET, GITHUB_ID: Variables to define GitHub as provider on Auth.js. More info

Run Locally

Clone the project

git clone https://msruan/laboras-next

Go to the project directory

cd laboras-next

Install dependencies

npm i

Run the development server

npm run dev
# or
pnpm dev

Author

Todo

  • Add guest mode or create a public deploy instance
  • Add MongoDB docker compose to use locally
  • Improve login page
  • Use social ID insted of email to identify OAuth users on the database
  • Settings section
  • Add musics and chat resources

About

Next.js fullstack flavor of Laboras

Resources

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •