A Laboras fullstack clone made in Next.js
Reach the main repository of Laboras project
- Posts CRUD
- Profiles, follow users
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
Clone the project
git clone https://msruan/laboras-nextGo to the project directory
cd laboras-nextInstall dependencies
npm iRun the development server
npm run dev
# or
pnpm dev- [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