https://github.com/timtech4u/employee-manager
A Multitenant App for Employees Mangement and Available Jobs (WIP) - Built with Django Multitenancy, DRF & VueJS...
https://github.com/timtech4u/employee-manager
Last synced: about 1 year ago
JSON representation
A Multitenant App for Employees Mangement and Available Jobs (WIP) - Built with Django Multitenancy, DRF & VueJS...
- Host: GitHub
- URL: https://github.com/timtech4u/employee-manager
- Owner: Timtech4u
- Created: 2018-08-27T16:29:31.000Z (almost 8 years ago)
- Default Branch: develop
- Last Pushed: 2022-12-08T12:26:10.000Z (over 3 years ago)
- Last Synced: 2025-06-08T08:03:39.248Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 3.04 MB
- Stars: 22
- Watchers: 1
- Forks: 8
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A SaaS Application for Employee Management
SaaS App for my PyConNG [Talk](http://bit.ly/django-multitenant)
## API Endpoints
- `/` -> Admin panel for Employee Management
- `/jobs` -> List of jobs (WIP)
- `/docs` -> List of available API (`/api`) Endpoints & documentation
> A Django2.X/Vuejs2.X SASS App
## Run BackEnd(Django Multitenant)
``` bash
# install dependencies, builds frontend, runs backend server
deploy.sh
# To setup a tenants (Public tenant and Others...)
python manage.py shell
> from customers.models import Client
> tenant1 = Client(domain_url='127.0.0.1',
schema_name='public',
name='Default',
paid_until='2099-12-31',
on_trial=False)
> tenant1.save()
> tenant2 = Client(domain_url='localhost',
schema_name='client',
name='Default',
paid_until='2099-12-31',
on_trial=False)
> tenant2.save()
```
## Run FrontEnd (VueJS)
``` bash
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
```
## Contribute Guidelines
- Clone this Repo & Create a branch
- Punch in come codes
- Open a PR
## Want a Quick Access/Demo:
- Send a mail to hello@myemp.site
- Indicate your desired subd-domain
- If you have a custom domain, that's fine, Create a *CNAME* record that points to *wildcard.myemp.site.herokudns.com.*