- Make sure you have Node.js LTS (at least v20) installed:
- Use
node --versionfrom your terminal to check the version
- Use
- Install essential VS Code extensions:
- Tailwind CSS IntelliSense
- Prettier
- ESLint
- Set up the InvestTrack backend and database according to their instructions:
-
Clone this project:
git clone [email protected]:mugnavo/startupsphere.git
or via HTTPS:
git clone https://github.com/mugnavo/startupsphere.git
-
Install dependencies:
npm i
-
Create a
.envfile at the root directory of the project with the following variables:# https://account.mapbox.com/access-tokens NEXT_PUBLIC_MAPBOX_TOKEN= # Server URL for InvestTrack backend NEXT_PUBLIC_BACKEND_URL=
-
Run the project:
npm run dev
The development server should be running at
http://localhost:3001. -
The project shares the same backend and database with InvestTrack, so you can use the same credentials to log in.
-
Build the project:
npm run build
-
Start the production server:
npm start