This is the website for TMUCSA, a social club that promotes student wellbeing through various activities at TMU.
Next.js has server sided rendering, backend, and frontend capabilities. Next.js is built on React.js, so you can utilize React packages. It allows an easier way of routing without react-router-dom. Simply put, it's easier learning Next.js than React.
Next.js routes work in the
src/app/directory. Basically if you want to go to a different part of the website, liketmucsa-website/about, create a directory calledaboutand create apage.jsfile that renders in the HTML. It's that simple. For more information on how it works, check out the documentation
- Clone the repo.
git clone https://github.com/TMUCSA/tmucsa-website.git
- Change into the repo directory.
cd tmucsa-website
- Switch to the branch that you are working on by using:
git checkout <branch-name>
- Install node modules
npm install
OR
npm i
- Run the dev build of the project to view how it looks locally on your browser
npm run dev
- The website will start running on
localhost:3000
- Code in your respective or assigned branches to avoid git conflicts.
- Ensure to pull regularly to stay up to date with the dev branch.
TBD
| @andrearcaina | @chen-dominic | @Tristanv0 |