This is a linkedin clone built with next.js and tailwind.css.
Live App: here
First, run the development server: npm i
and npm run dev
.
Create a .env.local
file to store the information below:
- GOOGLE_CLIENT_ID=89XXXXXXXX-XXXXXXXXXXX18cdkujhs38h23g7upttse.apps.googleusercontent.com
- GOOGLE_CLIENT_SECRET=XXXXXXXXXXXX
- JWT_SECRET=e798af9a9df1035c07458aeb1c99ccad
- MONGODB_URI=From mongoDB account info
- MONGODB_DB=name of your DB
- For Google, an account is needed to get the client secret and client id Google.
- JWT_secret can be easily generated online.
- For mongoDB, an account with mongoDB is required.
- Authentication and authorisation was done with next.js
- The app was styled with tailwind.css
Deployment would either be with Heroku or AWS cloud service. (Still in Development).