This website aims to take advantage of the MEAN stack to showcase our organization's projects and community engagement. For styling, we are using bootstrap and our own custom CSS to create a personalized and interactive website.
Use npm to install dependencies (make sure you do so in the public directory and the functions directory).
npm installIn the off chance that does not work, you may also try...
npm updateYou may also need the Angular CLI. You can install this by typing this command in the public directory.
npm install -g @angular/cliThe website has been broken down into several major components that different group members have been assigned to develop. The app-root calls all of the following components at the moment:
├── landing
│ ├── login
│ ├── single-page
│ │ ├── about-us
│ │ ├── contact-us
│ │ ├── footer
│ │ ├── home
│ │ ├── project
│ │ ├── testimonial
│ │ └── upcoming-announcement
│ │ ├── announcement
│ │ └── upcoming-event
│ └── top-bar
└── logged-in
│ ├── create
│ ├── home-logged
│ ├── inquiries
│ ├── members
│ ├── projects-logged
└── └── top-bar-logged-inTo run the app make sure you're in the club-site directory then enter the following command in the terminal.
nodemon serverThis will run your code on localhost:3000. Nodemon will automatically make the updates (to the backend) live when you save, so you don't have to restart your backend everytime you make a change.
If nodemon is giving you a command not found error... Run this command in the club-site directory.
sudo npm install -g --force nodemonTo get the frontend running, type the following command in the app directory.
ng serve --open... or if you are working on the backend as well run this command in the app directory (or if you want to build and use the server to test for production).
ng build --watchRun this command in the public directory to deploy the hosting.
firebase deployRun this command in the root directory to deploy the functions.
firebase deploy --only functionsBackend is deployed at the following url...
https://us-central1-home-c6ab1.cloudfunctions.net/appFrontend is deploy at the following url...
https://webdevcarolina.com/ng testng e2eThe deployed version is contained on the 'Firebase' branch to ensure we always have a stable version of the code.
- Christian Nell (Project Lead)
- Addison West (Frontend Lead)
- Rushil Shah (Treasurer)
- Tatiana Kelliher
- Advaith Deo