Skip to content

gasharova/Eventify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages