The Collectors is a team of students working on a project for the Software Design & Documentations course at Rensselaer Polytechnic Institute. This project's purpose and design is to consolidate all clubs and organizations affiliated with RPI.
Justin Chang
Charles Chae
David Finck
Junseob Kim
Bill Wang
Directions to install necessary packages and dependencies for the project. First clone the repository on your machine.
- Download and install latest Python at https://www.python.org/downloads/
- When installing, make sure that:
- Python.exe is added to PATH
- pip is also installed
- Download the MongoDB Community Server at https://www.mongodb.com/try/download/community
- Make sure install MongoDB Compass is checked. You can also download at https://www.mongodb.com/try/download/compass
- After MongoDB Compass is installed, it should open up with a new connection window. Save and connect the default connection.
- Download and install latest Node.js at https://nodejs.org/en. This will also download npm which we need. Check automatically install necessary tools when prompted. Restart your computer.
- Open up a new terminal and
cd
to the frontend folder. Typenpm install
. This should install all necessary frontend packages. - Open up a new terminal and
cd
to the backend folder. Typepip install pipenv
in ther terminal. If you are getting an error that the command pip does not exists, it means you haven't added Python Scripts to your PATH. - Once pipenv is installed, type
pipenv shell
and thenpip install -r requirements.txt
. This installs all backend packages we need.
Directions for launching the project once the necessary packages have been installed.
- To start the backend, navigate to the backend folder in the terminal and start a virtual environment with
pipenv shell
. Then typeuvicorn main:app --reload
.- note: type
/docs
to the end of the URL to see the FastAPI backend commands.
- note: type
- To start the frontend, navigate to the frontend folder in the terminal and type
npm start
. - To see the list of clubs in the database, start MongoDB and connect to the localhost database (default - should be saved). You will see The Collectors database on the left hand side.