Link: https://c-shubh.github.io/daily-quote/
Shows a quote from Daily Inspiration From The Monk Who Sold His Ferrari by Robin Sharma
-
Clone repo
-
Client
$ cd client/ $ pnpm install # install dependencies $ touch .env.development.local # create env file
Contents of .env.development.local:
NEXT_PUBLIC_API_URL='http://localhost:8080/monk-quote'
Start Next.js dev server:
$ pnpm dev
-
Server
$ cd server/ $ pnpm install $ touch .env
Contents of .env:
PORT=8080 MONGODB_CONNSTRING='mongodb://localhost:27017/quotes'
Start Express server:
$ node app.js
- Next.js
- Tailwind CSS
- Chakra UI
- Day.js
- React DayPicker
- React Transition Group
- React Icons
- Express
- Mongoose ODM
- Frontend - GitHub Pages
- Backend - Render
- Database - MongoDB Atlas