GithubHelp home page GithubHelp logo

caption-contest's Introduction

photo-caption-contest

This is a portfolio project for the 'Security, Infrastructure, & Scalability' section of Codecademy's Backend Engineer Career Path.

Project brief

In this project you will create the backend for a platform for users to participate in a photo caption contest. Your server will host a few images and you will create endpoints to authenticate and authorize users. In order for a user to create a caption, they will need to be authenticated (signed in). You will need a database design and schema in order to integrate a database layer to store all your users and captions. You will use PostgreSQL and the ORM, sequelize to communicate between your database and your server. As you create your endpoints you will be testing them on Postman to ensure that they work correctly. Once the server is running, you will use a localized cache to optimize the performance of frequently requested data. Finally, you will write the documentation using Swagger and deploy your project to Render.

Project Objectives

  • Use Git version control
  • Create documentation using the Swagger API
  • Implement a database
  • Integrate existing API endpoints with the database layer
  • Database implementation for transactions
  • Deploy the application using Render

Prerequisites

  • Command line and file navigation
  • Git and GitHub
  • Javascript
  • Node.js/Express
  • Postman
  • PostgreSQL
  • Database relationships and configuration
  • Sequelize
  • Render

Setup

To get started simply run the npm install command after cloning/forking the repo. before you start running the application with npm test be sure to have read and followed the instructions for setting up the database ./database/README.md

caption-contest's People

Contributors

lukewelden avatar

Watchers

 avatar

caption-contest's Issues

Secure database passwords

The passwords in database/config/config.json are stored in plain text. We need to figure out a way to pass in these values via variables. It looks like the following article can be useful... Stack Overflow

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.