https://github.com/ore-codes/blog-takehome
Next.js blog website - take home assessment
https://github.com/ore-codes/blog-takehome
app-router blog crud cypress daisyui end-to-end-testing framer-motion nextjs13 react-query reactjs tailwindcss
Last synced: 2 months ago
JSON representation
Next.js blog website - take home assessment
- Host: GitHub
- URL: https://github.com/ore-codes/blog-takehome
- Owner: ore-codes
- Created: 2023-10-06T19:34:13.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-08T16:02:57.000Z (over 2 years ago)
- Last Synced: 2024-12-30T03:46:11.448Z (over 1 year ago)
- Topics: app-router, blog, crud, cypress, daisyui, end-to-end-testing, framer-motion, nextjs13, react-query, reactjs, tailwindcss
- Language: TypeScript
- Homepage: https://blog-takehome.vercel.app
- Size: 735 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Some packages used in this project
- Next.js
- React
- React Query
- Tailwind CSS
- Daisy UI
- Framer Motion
- Cypress
## Getting Started
Go to https://dummyapi.io and get an app id by registering.
In .env.local set the app id
```
NEXT_PUBLIC_DUMMY_API_KEY=[app-id]
```
Install
```bash
npm install
```
Run development server at [http://localhost:3000](http://localhost:3000)
```bash
npm run dev
```
Build
```bash
npm run build
```
Serve built application
```bash
npm run start
```
Test
```bash
npm run test
# or
npm run test:coverage # with coverage
# or
npm run test:open # Test in GUI
```