Skip to content

Rispectech/PHD-Portal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ph.D Portal

This project is a web-based PhD portal designed for Panjab University.

Installation

  1. Clone this repository to your local machine.
    git clone <repo url>
  2. Install the necessary dependencies
    cd web
    npm i
    cd server
    npm i

Setup

  1. Setup MongoDB database, connect and copy the url
  2. Setup .env file
    • Create .env files in both server and web folders
    • Paste the following in web/.env
      REACT_APP_SERVER_ENDPOINT = http://localhost:8000
      REACT_APP_WEB_ENDPOINT = http://localhost:3000
    • Paste the following in server/.env
      MONGO_URI = <mongodb url>
      PORT = 8000
      ACCESS_TOKEN_TTL = 2d
      REFRESH_TOKEN_TTL = 15d
      
      AUTH_USER = <contact admin>
      AUTH_PASS = <contact admin>
      
      JWT_SECRET= "z0B0WWiUlXOdQI2VG5gDpWdb6UlDAgdsafaeffse6v6VZeSnopGIP1jNaR8TPn7"
      
      RNS_EMAIL = "rns@pu.ac.in"
      DUI_EMAIL = "dui@pu.ac.in"
      PASSWORD = "123456"

Usage

  1. Run the project
    cd server
    npm run dev

Contributing

Contributions are welcome! If you find any issues or want to contribute to the project, please feel free to submit a pull request.

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages