saadullahaleem / event-manager

A simple event management app created for practicing Django Rest and React

Home Page:https://karachi-communities.herokuapp.com/login

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

event-manager

===================== Codacy Badge Commitizen friendly

This is a simple event manager app - built to learn Django REST and React.

Setup

To run the backend simply have Docker installed on your machine and run make up

If you are running the first time you will need to run make migrate && make loaddata to run the migrations and load sample data

To run the frontend you can use:

  • cd client
  • npm install
  • npm start

We will later move this into its own docker image.

Scope

The scope of the application is very simple. We are looking to create a simple event management application, where our local community leaders can manage their events, and notify anybody subscribed to an event or organisation with updates. We will maintain tickets as issues

Commit Message Format

We will need to do npm run commit and then will get the prompts needed to start a commit!

Add and commit with Commitizen

Editor Settings for VSCode

update the VSCode settings with following

{
"editor.formatOnSave": true,
 "[javascript]": {
   "editor.formatOnSave": false,
   "editor.tabSize": 2,
   "editor.insertSpaces": false,
   "editor.detectIndentation": false
 },
 "prettier.disableLanguages": [
   "js"
 ],
 "eslint.autoFixOnSave": true,
 "eslint.alwaysShowStatus": true,
 "editor.tabSize": 2,
 "editor.insertSpaces": true,
 "editor.detectIndentation": false,
 "css.validate": true
}

Resources

Since we are all learning - it will be best to have a single place to document all the resources. I will add the initial ones here, but we should update them as we learn new things and find additional resources.

Django

So a few things to know before diving in - we are mostly focused on Django REST API - not the standard Django framework which normally does server side rendering. So the focus of learning should be how to create the models, and their relationships. After that is all the API stuff like serialization, views, urls, authentication, permissions and migrations.

Another thing to note here is that many articles and tutorials are seriously dated, the video below is the only resource I have found which is using the latest ViewSets available. Im not sure of the backward compatibility as yet so dont know how well the old code works. This is Django2 with Django REST framework 3.8 and Python 3.6.

React

About

A simple event management app created for practicing Django Rest and React

https://karachi-communities.herokuapp.com/login


Languages

Language:JavaScript 52.3%Language:Python 44.3%Language:CSS 1.8%Language:HTML 0.9%Language:Makefile 0.4%Language:Dockerfile 0.3%