GithubHelp home page GithubHelp logo

ttesori / api-todaysholiday Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 1.42 MB

This project is an API to serve up offbeat/funny holidays for a particular month or day. It also includes an administration area to manage the list of holidays.

JavaScript 79.15% EJS 12.74% CSS 8.12%

api-todaysholiday's Introduction

Today's Holidays Logo

Today's Holidays API

This project is an API to serve up offbeat/funny holidays for a particular month or day. It also includes an administration area to manage the list of holidays.

Link to project: https://todaysholidaysapi.com/

How It's Made:

Tech used: Node, Express, MongoDB, EJS, Javascript, Bootstrap, CSS

The application was originally designed as a simple CRUD API, but eventually wanted the ability to work with the API more easily and to require authorization for certain tasks (creating, editing, and deleting holidays). I integrated PassportJS with a local strategy for authentication and built out an administration dashboard to manage the list of holidays.

Lessons Learned:

This project taught me a whole host of lessons, including: how to implement authentication successfully, how to require authorization to access particular routes, how to organize a project with MVC architecture, and how to add new fields to an existing dataset.

One of the more challenging aspects of this project was aggregating the data from the various sources of weird holidays -- the data was in different formats, the dates weren't consistent and it took a good amount of time to get everything formatted for insertion into the database.

Optimizations

Future optimizations that I'd like to add to this:

  • More robust alert/confirmation system when making changes on the administration dashboard.
  • The ability to add multiple tags to a holiday through the administration dashboard.
  • Documentation to the home page so others can use the API
  • Add search to admin dashboard
  • More robust responsive styling

api-todaysholiday's People

Contributors

ttesori avatar

Watchers

James Cloos avatar  avatar

api-todaysholiday's Issues

Mobile styling issues

  • On login page, too much padding on top
  • on manage page, logo should be smaller
  • Nav should be stacked
  • on mobile remove tags column
  • Bottom holidays nav is broken

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.