Skip to content

1sakib/soccerparks

Repository files navigation

SoccerPark - Full Stack Site

First Image Second Image

Website link : https://soccerparks.onrender.com/

Looking for a regular park to play soccer in? SoccerPark is a community-driven website where people can share locations of parks that have just the right space for a game of soccer.

Searching online for fields with the right terrain and condition to play soccer is often frustrating. Toronto has plenty of parks that are perfect for soccer and other sports, but because they’re not advertised that way, you’d never come across them just by Googling. This site solves that problem by letting people share and post about these parks, creating a one-stop hub for anyone looking for a chill spot to play.

Features

  • Interactive maps with real-time park locations using MapTiler SDK
  • User authentication & authorization with secure session management
  • Image upload & management via Cloudinary
  • Advanced security with rate limiting, and input sanitization
  • RESTful API architecture with full CRUD operations
  • Responsive design

Tech Stack

Frontend

  • HTML
  • CSS
  • Bootstrap 5

Backend

  • JavaScript
  • Node.js
  • Express.js
  • MongoDB
  • Mongoose
  • Passport.js
  • Express-Session
  • Helmet

Render - Application deployment

Installation

Clone repo

git clone https://github.com/1sakib/soccerparks.git
cd soccerparks

Install with npm

npm install

Create .env file in root directory and add the following:

# Database
DB_URL=mongodb://localhost:27017/soccerparks
# Or use MongoDB Atlas: mongodb+srv://username:[email protected]/soccerparks

# Session Security
SESSION_SECRET=your-super-secret-session-key-here

# Cloudinary (Image Upload Service)
CLOUDINARY_CLOUD_NAME=your-cloudinary-cloud-name
CLOUDINARY_KEY=your-cloudinary-api-key
CLOUDINARY_SECRET=your-cloudinary-api-secret

# MapTiler (Maps Service)
MAPTILER_API_KEY=your-maptiler-api-key

# Environment
NODE_ENV=development

Set up external services :

  • MongoDB Atlas
  • Cloudinary
  • MapTiler

Run the application :

node app.js

Note : Ensure you have node.js installed -> https://nodejs.org/en/download

About

Full stack site with parks where you can play soccer.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors