trivalleycoders-org / events-client

Display any type of event. Link to your ticketing/registration site
MIT License
2 stars 6 forks source link
expressjs mongodb reactjs redux

Events Client & Server

Events is a technical demo to demonstrate how we create MERN stack apps.

Events is a generic events application and can be used for any type of event. Our demo is using Drone Events. However, there is nothing at the core of the app that restricts it to drone events other than styling of the home page. Events could easily be used for any type of events.

Purpose of the app

How the app works

Users must register before they can post an event.

Events created in this app are linked to a ticketing and/or registration site such as EventBrite or Meetup.

All current events posted by registered users are shown.

Images for Events are the same size as images for Facebook, Meetup & EventBrite, allowing user to use the same image they created for these sites.

Tech Stack

Client: React, Redux, Redux Form, Redux Thunk, Material UI, date-fns, Ramda

Server: Express, AWS SDK, JSON Web Tokens, Passport

File storage: Amazon S3

Database: MongoDB on Atlas

Hosting - client & server: DigitalOcean

Local Dev Machine Setup

MongoDB, MongoDB Compass, Yarn, Chrome &/or Firefox Developer Edition

Install MongoDB

Install MongoDB Compass

Install Yarn Using npm on a project maintained with Yarn causes versioning conflicts.

Browser Extensions

Use

If you would like to contribute, open an issue labeled 'question' and we will help you get started.

Clone the Repositories

Client - https://github.com/trivalleycoders-org/events-client (this repository)

Server - https://github.com/trivalleycoders-org/events-server

Documentation and data collections: https://github.com/trivalleycoders-org/event-doc-and-admin

Dev Database Setup The data collections are here: data collections

For detailed instructions on loading the data using Compass see Loading Dev Data.

Using MongoDB Compass

Import Dev Data Use Compass to import the data collections:

Collection Name File to Import
events events-collection.json
postalCodes postalCodes.json
users users.json

If you have problems importing Postal Codes, use the following command from the command line(not mongo shell) to import (Make sure directory where MongoDb is installed is in the Path).

mongoimport --db EventsDev --collection postalCodes --file postalCodes.json

Start-up the App

$ cd /events-server
$ yarn install
$ yarn start
$ cd /events-client
$ yarn install
$ yarn start

Roadmap

Contributing

You would want to contribute to this project because

We enjoy helping contributors. If you know JS, CSS & some amount of React, Express or MongoDB contact us by opening an issue marked 'question' and we will help you get started.

If you want to contribute as a learning experience, here are some things you can do

More or less easy (from less hard to more hard)

Writing tests

Bug fixing

Other

Not feeling up to coding? There is lot's to do including, UI design improvements & Documentation creation.

Who are we?

A group of people who love making software and sharing our knowledge with others.

TriValley Coders

Free bi-weekly Meetup

Thank you to our sponsors!


Meeting Space


Hosting

License

This project is licensed under the terms of the MIT license.