https://github.com/qonus/event-sphere
next.js + mongodb
https://github.com/qonus/event-sphere
Last synced: 4 months ago
JSON representation
next.js + mongodb
- Host: GitHub
- URL: https://github.com/qonus/event-sphere
- Owner: Qonus
- Created: 2024-12-11T16:11:11.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2025-03-29T08:51:05.000Z (4 months ago)
- Last Synced: 2025-03-29T09:22:48.016Z (4 months ago)
- Language: TypeScript
- Homepage: https://event-sphere-kz.vercel.app
- Size: 402 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Description
This is a [Next.js](https://nextjs.org) + [MongoDB](https://www.mongodb.com/products/platform/atlas-database) project made in 24 hours as a submition for offline [BICAP hackathon](https://capedu.kz/bicap) in Binom school, Astana, Kazakhstan.## Features:
- Search algorithm.
- Creating and seeing events on a map.## Used Libraries:
- Leaflet
- OpenStreetMap
- Imgur
- Mongoose
- Next-Auth## Setup .env
Create a ```.env``` file in the main directory, it should include following fields filled with your data:```
MONGODB_URI = "YOUR_MONGO_URI"NEXTAUTH_SECRET= "YOUR_AUTH_SECRET"
NEXTAUTH_URL= "http://localhost:3000/"
GOOGLE_CLIENT_ID= "YOUR_GOOGLE_CLIENT_ID"
GOOGLE_CLIENT_SECRET= "YOUR_GOOGLE_CLIENT_SECRET"
```- `MONGODB_URI` follow [this guide](https://youtu.be/VlJ2v6CcWMM?si=RdlKdwZ_yaskvzUq)
- `NEXTAUTH_SECRET` paste ```npx auth secret```
- `GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET` follow [this article](https://www.balbooa.com/help/gridbox-documentation/integrations/other/google-client-id)
## Running
- Install all required libraries by running
```
npm install
```- Run the development server:
```
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```- Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.