MrHarrisonBarker / OpenEvent

An open event ticketing and hosting platform built in ASP.NET, Angular and MySQL utilising the Stripe API.

Home Page:https://openevent.azurewebsites.net/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenEvent

An open event ticketing and hosting platform built in ASP.NET, Angular and MySQL utilising the Stripe API.

Check out the wiki for a user guide and documentation

Installation

.NET

First you should install the dotnet SDK https://dotnet.microsoft.com/download/dotnet/5.0

Angular

To install Angular you need nodejs installed https://nodejs.org/en/download/ once installed you can get the Angular cli https://cli.angular.io/

MySQL

OpenEvent uses a local MySQL datbase in development so you'll need a local instance running and insert your connection string into OpenEvent.Web/appsettings.Development.json

"ConnectionString": "server=localhost;database=openEvent;user=openevent;password=Password",

Running

To run the app make sure you have all prerequisites first.

Then simply cd into the OpenEvent.Web directory, restore all the packages (install any extra stuff, should only need to do once) and then run the program.

Running the first time will take along time as it downloads all npm packages and will re compile them into esm2015 from es2015

$ cd OpenEvent.Web
$ dotnet restore
$ dotnet run

This should start the backend API, host the Angular app and seed the database.

Visit http://localhost:5000/

If you want Stripe webhook catching then you'll need the stripe cli tool https://stripe.com/docs/stripe-cli

Then start a listener that forwards to the local API.

$ stripe listen --forward-to localhost:5000/api/transaction/capture

Test User

There is a test user created on startup you can use

Email -> test@test.co.uk

Password -> Password@1

Maintainers

@MrHarrisonBarker

License

MIT © Harrison Barker

About

An open event ticketing and hosting platform built in ASP.NET, Angular and MySQL utilising the Stripe API.

https://openevent.azurewebsites.net/

License:MIT License


Languages

Language:TypeScript 63.7%Language:C# 24.3%Language:HTML 9.1%Language:JavaScript 1.6%Language:CSS 0.8%Language:SCSS 0.5%Language:Shell 0.0%