DSC NIT SURAT
The Official Website Of DSC NIT SURAT
Read the following first:
Before commiting a change to version control:
- Run
$ yarn format
and fix all the errors and for formatting the code - Before pushing the commit, run
$yarn prepush
This will help in keeping the code formatted and understandable.
Prerequisites
- yarn
- node
IMPORTANT
-
Avoid using
npm install
anywhere. Use yarn instead. npm is very slow and installing dependencies will take forever especially on hostel wifi. -
Always work on a separate branch with either
backend
orfrontend
group name. -
Always
git pull
beforegit push
Starting this project
-
$ yarn install
-
$ yarn start
-
Open a new terminal
-
$ cd client && yarn install
-
$ yarn start
This should run parallely. On
localhost:5000/express_backend
, you should get a message sayingBackend Connected
as the receiving message which shows the temporary connection between the front-end and back-end.