GithubHelp home page GithubHelp logo

freyesdulib / ict4510-api-service Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 18.7 MB

University of Denver | ICT4510 Advanced Website Design and Management - Final Project Example

JavaScript 72.97% CSS 26.76% EJS 0.27% Procfile 0.01%

ict4510-api-service's Introduction

University of Denver | ICT4510 Advanced Website Design and Management

Table of Contents

README

Background

Final Project Example Application.

Contributing

Check out our contributing guidelines for ways to offer feedback and contribute.

Licenses

Apache License 2.0.

Local Environment Setup

Have Node.js > 10.0 
Have MySql 5.5 - 5.7
git clone https://github.com/freyesdulib/ict4510-api-service.git
cd into ict4510-api-service
npm install (installs application dependencies)
Add .env file in root folder (see .env-example)
Create database in MySQL - "ict4510" (https://sequelpro.com/)
Change file extension from .txt to .sql ict4510-api-db.txt -> ict4510-api-db.sql
Import mysql schema "ict4510-api-db.sql" into newly created ict4510 database. (https://sequelpro.com/)
Create account via User API endpoint i.e. http://localhost:3000/api/users
run "node index.js"
http://localhost:3000/       (Public)
http://localhost:3000/login  (Admin)

Maintainers

@freyesdulib

Releases

Contact

Ways to get in touch:

  • Fernando Reyes (University of Denver) - [email protected]
  • Create an issue in this repository

ict4510-api-service's People

Contributors

freyesdulib avatar dependabot[bot] avatar

Stargazers

Tennelle SWAN avatar

Watchers

James Cloos avatar  avatar

Forkers

venusumanth

ict4510-api-service's Issues

500 error generated when login user object contains incorrect property name

The validation lib does not check specifically for the correct username property. As a result the incorrect user object reaches the model layer and generates a 500 error. The validation lib needs to check for specifically a property named "username". I didn't account for varying names being used. i.e. userName, user_name

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.