- React Icons * I personally like Font Awesome a lot so I usually start there but that of course is flexible.
- Add the name to the import of the file
- Add
<FaClock />
or whatever the name is as a self-closing HTML tag
- Why I decided on tailwindCSS for us
- Tailwind cheat sheet with links to docs
- NextJS in 100 seconds video (long tutorial isn't super relevant)
- Clone the repo and open in Visual Studio Code
- Go to our shared Google Drive and download the
.env
file and put it in the root of the project (same level aspackage.json
). This file contains the API keys for the firebase authentication service. - Open a terminal in VSCode and run
npm install
to install all the dependencies - Run
npm run dev
to start the development server and go to localhost:3000 to see the app - Make changes to the code and save to see the changes in the browser
The backend for this project was built using Django and PostgreSQL. The link to the repository for the backend is here.
- Take a look at the structure of each of the pages under
pages/
and the components undercomponents/
to get a feel for how the app is structured. We make generic components that we can reuse in other UI elements.
We are generating our front-end interface with Next.js. This is a competitor to the simpler create-react-app. Create react app (CRA) is good for single page applications, but CodeConnect will be creating multiple pages that a user can navigate between. Every solution in CRA that helps with this is hacky and can present issues. We will be using Next.js to better support the Multi Page Application use-case. Read below for some info automatically generated by create-next-app