A simple My Space app made with the Next.js ecosystem, focusing on learning Next.js structure and authentication.
This was based on the fireship nodejs tutorial.
You can find the live version here
- Next.js app routing
- Authentication using Nextauth.js/Auth.js
- Prism ORM with postgresql database
- Personizable user profile page
Before running the application, you'll need the following:
- Node.js and bun or npm installed on your system.
- Postgresql installed locally or a connection to a Postgresql instance.
- Clone the repository:
git clone https://github.com/Sankalp-G/nextjs-my-space
- Install dependencies:
cd nextjs-my-space
bun install
-
Set up environment variables:
- Create a
.env
file in the root directory. - Add the necessary environment variables based on
.env.example
- Create a
-
Start the application:
bun dev
- Visit
http://localhost:3000
in your web browser.