This is the server side of the Alumni Portal application.
- Clone the repository
git clone git@github.com:tripathics/alumni-portal-server.git
- Install the dependencies
cd alumni-portal-server # Move to the server directory
npm install # Install the dependencies
- Create a
.env
file in the root of the project and add the environment variables from the.env.example
file. Put the actual values in the.env
file.
cp .env.example .env
- Migration and seeding: Run the following command to create the database tables and seed the database with the admin user.
npm run migrate
- Start the server
npm run dev