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

  • [OK] Add guest mode or create a public deploy instance
  • [OK] Add MongoDB docker compose to use locally
  • [OK] Improve login page
  • [OK] Add Loggertape
  • Change ServerComponents calling API Routes (antipattern) to pure db calls
  • Use social ID insted of email to identify OAuth users on the database
  • Settings section
  • Add musics and chat resources
  • Trocar titulo da pagina para o nome do usuario na pagina de perfil
  • Padronizar ingles/portugues na UI

About

Next.js fullstack flavor of Laboras

Topics

Resources

Stars

Watchers

Forks

Contributors