https://github.com/tanjib-rafi/local-event-planner
https://github.com/tanjib-rafi/local-event-planner
Last synced: 30 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/tanjib-rafi/local-event-planner
- Owner: Tanjib-Rafi
- Created: 2024-04-14T12:31:34.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-17T15:47:28.000Z (about 2 years ago)
- Last Synced: 2025-02-23T06:15:52.225Z (over 1 year ago)
- Language: TypeScript
- Homepage: https://local-event-planner.onrender.com/
- Size: 271 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Key Features
- **Token-based Authentication**: Utilizes JWT (JSON Web Tokens) for secure authentication, with user tokens stored locally in the browser's localStorage
- **Restricted Access**: Only authenticated users are permitted to create events and view the Dahsboard
- **Validate Date**: User cannot choose past date/time from the calender to create event
- **Redux State Management**: Implements Redux for efficient state management
- **Search/Filter**: Supports search/filter based on event name, location and time range
- **Django REST Framework Backend**: Django REST Framework on the backend to provide API endpoints
- **Satellite and Normal Map Views**: Offers users the option to view event locations in both satellite and normal map views with fullscreen view
- **Nearby Events**: Show nearby events
## Front-End Setup instructions (React Js)
First, clone the repository to your local machine:
```bash
git clone https://github.com/Tanjib-Rafi/Local-Event-Planner
```
Change Directory:
```bash
cd Local-Event-Planner/
```
Install dependencies::
```bash
npm i
```
Finally, run the development server:
```bash
npm run start
```
Note:
For Location Autocomplete Suggestion I used LocationIq api:
```bash
https://us1.locationiq.com/v1/autocomplete.php?key=${apiKey}&q=${searchQuery}&limit=5&format=json
```
Replace apiKey with your actual API key.
## Back-End Setup instructions (Django Rest Framework)
Change Directory
```bash
cd local_event_planner/
```
Install the requirements:
```bash
pip install -r requirements.txt
```
Apply the migrations:
```bash
python3 manage.py migrate
```
Finally, run the development server:
```bash
python manage.py runserver 8001
```
## Database Setup
In the settings.py make sure database setup for Postgresql is correct:
```
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'local_event_planner',
'USER': 'postgres',
'PASSWORD': 'postgres',
'HOST': 'localhost',
'PORT': '5432',
}
}
```
## Screenshots






