Giter Site home page Giter Site logo

nishan212 / placement-portal Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 762 KB

Placement portal for universities to manage their placement process.

Home Page: https://mitplacementportal.vercel.app

Shell 0.04% JavaScript 0.24% TypeScript 95.99% CSS 0.22% PLpgSQL 3.51%

placement-portal's Introduction

Placement-Portal

We will be using yarn as the package manager for this project.

Branches

develop - main development branch

PLP-X - feature branch where X is the corresponding ticket number


Project Setup

add the environment variables using the .env.example file in both client and server

Go to server:

yarn # to install dependencies
yarn dev # start the server in dev mode

Go to client:

yarn # to install dependencies
yarn codegen #to update type definitions
yarn dev # start the server

Update your feature branch with remote changes [IMPORTANT]


NEVER PULL CHANGES FROM YOUR REMOTE FEATURE BRANCH

git pull origin/PLP-25 #DO NOT DO THIS
        #OR
git pull # when you're in a feature branch locally

DO NOT PUSH TO THE DEVELOP BRANCH

git push # when you are in develop branch locally

COMMANDS TO BE USED

git checkout develop # switching to develop
git pull --rebase # pulling changes from develop
git checkout <feature_branch> # git checkout PLP-24
git rebase develop
## make your changes
git push --force # always do a force push after rebase

Generating types in server

If server is already running in dev mode, save the codegen.yml file to regenerate types.

Alternatively, you can run yarn codegen to generate types


Debugging

To kill the port if EADDRINUSE error:

lsof -i TCP:PORT_NUMBER
kill PID

Checking the DB:

npx prisma studio

Generate prisma client

npx prisma generate

Migrate DB changes:

npx prisma migrate dev

For more info visit package.json in server & client.

placement-portal's People

Contributors

karan316 avatar nishan212 avatar sarthakagrawal927 avatar psy27 avatar ayushgoyalpro avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.