marton987 / sheparny

Code Challenge for Python/Django Developer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Code Challenge: Python/Django Developer @ SHERPANY

Home task project to build an "events" web application.

Author: @marton987

Task description

Build an "events" web application where users can log in, create events and sign up for an event and withdraw from an event.

Any user can list events:

  • Sorted so that upcoming events are first
  • List view shows title, date and amount of participants
  • List view shows the owner of the event (as the part of the email before the "@")
  • Assume there will be many thousands of events, users and participants per event
  • Any logged in user can create events
  • Logged in user can edit own events
  • Login with email and password
  • Registration with email and password

Out of scope

  • email confirmation
  • password reset
  • change password
  • profile editing
  • change email

Run project

Run the next commands to run docker and start the project:

    docker-compose build
    docker-compose up

Then you can visit http://localhost:3000 to look over the events page where you can authenticate and create new events.

Api documentation is under http://localhost:8000/api/docs

  • You can follow each README.md under frontend/ and backend/ to start the project without Docker.

Run project tests

Running tests

    $ docker-compose exec backend python manage.py test

Get coverage details

    $ docker-compose exec backend coverage run manage.py test
    $ docker-compose exec backend coverage report

About

Code Challenge for Python/Django Developer


Languages

Language:Python 61.0%Language:JavaScript 36.9%Language:HTML 0.9%Language:Dockerfile 0.7%Language:CSS 0.5%