Nexus spaces is a AI driven social media platform where SJCET students can find and connect with developers, designers and other skilled individuals.
To build and run this project in your local dev environment, follow the instructions below. Be sure you have Node.js installed before you start.
Run npm install
Refer to the env.example file for the environment variables examples
Step 3: Create a new Supabase account
- Create a new project in Supabase
- Go to 'Connect>ORMS'
- Under 'Tools', select 'Drizzle'
- Copy the url into 'DATABASE_URL and paste the password that you entered for the project
- Go to Developers
- 'New OAuth App'
- Input your homepage URL: http://localhost:3000
- Input the authorisation url: http://localhost:3000/api/auth/callback/github
- Copy the Client ID to AUTH_GITHUB_ID
- Copy the Client Secret to AUTH_GITHUB_SECRET
- Go to your local repo terminal and run:
npx auth
- Agree to install any necessary packages
- Go to your terminal and run:
npx auth secret
- Copy and paste the key into AUTH_SECRET
Run the development server npm run dev
You should be able to the page open in: http://localhost:3000