Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sital002/foodhub
Foodhub is a simple Nextjs application where you can browse, search products.
https://github.com/sital002/foodhub
css html javascript mongodb mongoose nextjs react tailwindcss
Last synced: 13 days ago
JSON representation
Foodhub is a simple Nextjs application where you can browse, search products.
- Host: GitHub
- URL: https://github.com/sital002/foodhub
- Owner: sital002
- Created: 2023-07-13T06:14:04.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-30T10:03:32.000Z (about 1 year ago)
- Last Synced: 2024-10-05T23:21:13.643Z (about 1 month ago)
- Topics: css, html, javascript, mongodb, mongoose, nextjs, react, tailwindcss
- Language: TypeScript
- Homepage:
- Size: 6.37 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## FoodHub
Foodhub is a simple Nextjs Application using latest Next 13 app router.
##### Features:
* Browse Products
* Search Products
* Add Item to Cart
* Delete Item from Cart
#### Todo
* Pagination or Infinite Scrolling
* Filter Options
* Checkout Page### Local Development
#### Fork the repository```bash
git clone https://github.com//foodhub
npm ci
```First, run the development server:
```bash
npm run dev
```Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
### Start Contributing
#### Fork the repository and Clone the repository.
```
cd foodhub
git checkout -b "branchName"
// Make changes and commit those changes
git commit -m "commit message"
git push origin "branchName"
Create a pull request
```#### Environment Variables:
```
NEXT_PUBLIC_CLOUDINARY_PRESET=""
NEXT_PUBLIC_CLOUDINARY_UPLOAD_URL=""
NEXT_PUBLIC_FILE_UPLOAD_API_KEY=""
MONGODB_URI="mongodb://localhost:27017/foodhub"
NEXT_PUBLIC_BASE_URL="http://localhost:3000"
NEXTAUTH_URL="http://localhost:3000"
NEXTAUTH_URL_INTERNAL="http://localhost:3000"
NEXTAUTH_SECRET=""
GITHUB_ID=""
GITHUB_SECRET=""```