The People Board is an open-source web development project to challenge the community to create a job/people board where alumni, students, and job seekers of a university can meet and connect.
- Before Contributing Look Into CONTRIBUTING GUIDELINES
- Our Code of Conduct: CODE OF CONDUCT
The tech stack used here is:
- ReactJS v18.2 + Create React App (Frontend)
- NodeJS v18 + Express v4.18 (Backend API Server)
- PostgreSQL v14 (Database)
You need to have NodeJS, ReactJS, and PostgreSQL installed on your system to run this project.
The project is a monorepo divided into two parts:
- The backend is a NodeJS + Express server that serves the API endpoints for the frontend to consume.
- The backend server runs on port 5000 by default.
- The backend is located in the
backendfolder. - The backend follows a controller structure, where endpoints are directed to a specific controller, which then handles the request and sends a response.
- You can see a sample controller in the
backend/src/controllersfolder calledtestwhich includes two example endpoints-test/getandtest/post. - We expect you to follow this controller structure and create your own controllers for the project. Make sure to group related controllers and endpoints together.
- The backend uses the
corslibrary to enable CORS on the server, and thebcryptlibrary if there is any need for password hashing and validation. - The backend uses the
knexlibrary along with thepgpackage to connect to the PostgreSQL database.
- The frontend is a ReactJS app created using Create React App.
- The frontend runs on port 3000 by default.
- The frontend is located in the
frontendfolder. - The frontend uses the
react-router-domlibrary for routing. - The frontend uses fetch calls to make API calls to the backend.
- Clone this repository using
git clone https://github.com/gdsc-jssstu/the-people-board
To setup and run the frontend, follow these steps:
- Navigate to the
frontendfolder - Run
npm installto install all the dependencies - Run
npm startto start the frontend server - The frontend server will start on port 3000 by default
To setup and run the backend, follow these steps:
- [Recommended] Open another terminal window.
- Navigate to the
backendfolder - Run
npm installto install all the dependencies - Run
npm startto start the backend server - The backend server will start on port 5000 by default
- These are designs to help visualise and guide the development of the project. The final version of the project may or may not look like this. Creative freedom is encouraged.
- Click here for the UI design and prototype of the project.
A responsive and aesthetically designed people board that displays cards with people's contact information. The board also has a search feature where users can search for specific individuals on the board. The website also allows users to add/remove themselves into/from the board and update their profiles on the board.
Made with contrib.rocks.