This product was created for the California Surf Lifesaving Association (CSLSA), as a semester project for CECS 443 - Software Project Management and Testing. With this system, members of the Association will be able to log in and view their membership information, and register for upcoming events.
- Clone the repository onto your computer using the terminal:
git clone https://github.com/ftrbnd/caslsa-event-registration.git
- Install Node.js
- Install Visual Studio Code
- Open VS Code, and open the caslsa-event-registration folder.
- Inside the backend/caslsa_backend folder, run
npm i
to install all dependencies. - Create a new
.env
file - Inside the file, enter the database username, password, and jwt secret that were supplied to you.
DB_USERNAME=username
DB_PASSWORD=password
JWT_SECRET=secret
- While you are still in the backend/caslsa_backend folder, run
npm run start
in your terminal. - Open another terminal window, and navigave to the frontend/caslsa_client folder.
- Run
npm i
again to install the frontend dependencies. - Once all dependencies have been installed, run
npm start
. You will be asked to run the app on another port, since the backend is currently running on port 3000. Enter Y. - Success! A new tab should have opened in your browser, and you can now access the registration system.
- A remotely hosted website has not yet been implemented.
- Sign in to MongoDB using the credentials that were supplied to you.
- Click on the Browse Collections tab.
- From there, you have direct access to the events and users collections, and can make changes as you please.