Giter Club home page Giter Club logo

postlightproject's Introduction

Postlight Project -- Employee Directory

I built this project using Django and React. They're the two frameworks I'm most familiar with and I figured I might as well stick to what I know. I used randomuser.me to seed my database. Django acts both webserver and API server.

Features

-Update and Delete Employee functions -Pagination -Sorting -Search -React Router for frontend routing -CSS animations for messaging -simple API

To Install

This assumes that NPM and Python3 & virtualenv are installed locally

After cloning the repo, cd into the folder and perform the following commands:

  • virtualenv -p python3 venv
  • source venv/bin/activate
  • pip install -r requirements.txt
  • python manage.py migrate
  • python manage.py seed
  • python manage.py runserver

In another terminal window:

  • npm install
  • webpack -w

Navigate the browser to localhost:8000!

Where to go next

  • I'd love to include more animations -I had one idea that the modals or even the EmployeePage could slide out -Loading spinners would be a nice touch, too
  • Testing -I'm not great with testing; it's something I'd love to learn more about but I did not feel confident enough to include them in a project like this
  • Because I was rushing, I didn't have to perfect my models and therefore the API the way I would have liked. I would have included validations, proper ImageFields, a create endpoint/form

postlightproject's People

Contributors

natotthomer avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.