GitXplorerGitXplorer
g

Eventify

public
0 stars
0 forks
1 issues

Commits

List of commits on branch master.
Unverified
d8cbd375635af29b6286713292e702cadc108c16

Added locations table, CRUD, controller, service, DTOs

ggasharova committed 5 years ago
Unverified
b104712eb36e1b603050eeeaa35edfc4252a2eb5

Added precautions for Event input

ggasharova committed 5 years ago
Unverified
bcea78e796630a52bafc1df1e9a9ec483e8f603e

Added create dates for User & Event

ggasharova committed 5 years ago
Unverified
eeafefa9532b4a32f92d849db11da427eb429d73

Added soft delete for users

ggasharova committed 5 years ago
Unverified
e05f980ca8a93c0475114f7157dbb990bab019f1

Added soft delete for events.

ggasharova committed 5 years ago
Unverified
1640af551a65c1535b050f2fe817fa3505598faf

Event get user populated with current logged on user. Only creator can update event.

ggasharova committed 5 years ago

README

The README file for this repository.

Eventify

Tech stack

  • .NET Core 3.1
  • EF Core
  • JWT
  • MS SQL

Specifics

  • Web API 2.0
  • Model-Controller with DTO
  • ORM via EF (Models) and AutoMapper (DTOs)
  • Asynchronous
  • Repository pattern for auth
  • Service pattern for every other table
  • Custom users (Not Identity)

Basic schema of endpoints

Auth

  • [POST] /auth/login - logs user in and returns token as header
  • [POST] /auth/register - registers user
  • [DELETE] /auth?id=0000 - deletes user

All other tables

  • [GET] /(entity)/ - returns all entities
  • [GET] /(entity)?id=0000 - searches for entity by id and returns it/null
  • [POST] /(entity) - Creates record for that entity. Takes request body
  • [PUT] /(entity) - Updates record for that entity. Takes request body
  • [DELETE] /(entity)?id=0000 - Deletes entity

Access

  • A user can get all entities
  • A user can add entities of any type
  • A user can only edit & delete their own events
  • A user cannot delete other users
  • A user can edit and delete all locations and ticket details regardless of creator

Database structure

DB graph