This project allows users to search for universities and see reviews from other students about their experiences. Users can also search for majors within each university and see reviews about the specific major. Useful for High School students ready to begin their University Life and for university students that want to ingress in a Masters degree or in optional classes.
This is a guide on how to run our project that uses Prisma and Next.js with pnpm.
Before running our project, you must have the following software installed:
- Node.js (version 16 or later)
- pnpm (version 7 or later)
To install the project, follow these steps:
- Clone the repository from GitHub:
git clone https://github.com/franciscoBSalgueiro/engbiocoisa
- Navigate to the project directory:
cd engbiocoisa/website
- Install the dependencies using pnpm:
pnpm install
- Generate the Prisma client:
pnpx prisma generate
- Initialize the database:
pnpx prisma db push
The project uses environment variables to configure the database connection. Define the following environment variables in a .env
file in the project root:
DISCORD_CLIENT_ID=<your Discord client ID>
DISCORD_CLIENT_SECRET=<your Discord client secret>
NEXTAUTH_SECRET=<your NextAuth secret>
To run the project, follow these steps:
- Start the development server:
pnpm dev
- Open your web browser and navigate to
http://localhost:3000
To build the project for production, follow these steps:
- Build the Next.js app:
pnpm build
- Start the production server:
pnpm start
- Open your web browser and navigate to
http://localhost:3000