Coder Social home page Coder Social logo

imgapp2's Introduction

imgapp2

Practise project using Node/Express/PostgreSQL/Sequelize/Angular/Heroku/S3/JSON/REST

deployed to Heroku: https://imgapp2.herokuapp.com/

This is a simple imageboard full stack single page application. Not meant to be actually used, developed while learning different technologies and how they work together. App structure not optimal...

In this app you can for example:

  • register a user account/login to your existing account
  • post an image file to the server (the image is saved to Amazon S3 and linked to user's account in app's database)
  • see all your images on your user account page
  • add a comment to any image, either when logged in or without login (comment added then as 'Anon')
  • see all users images starting from the newest on app frontpage (currently six images per page, limit parameter in url can be changed, browse through next/prev links)
  • delele image posted by you

You can not:

  • delete posted comments or remove user account

Backend:

  • Node.js/Express web server, mostly REST practises followed (started using express-generator)
  • App is running in Heroku using its PostgreSQL database for user/image/comment data
  • Posted images are saved to a bucket in Amazon S3 where they are visible for everyone. (First they were saved to local filesystem through Multer (https://www.npmjs.com/package/multer) DiskStorage, but this was changed when app was updated to use Heroku)
  • Sequelize ORM is used with PostgreSQL database

Frontend:

  • Angular.js is used for browser routing and views
  • Bootstrap for layout with a little custom CSS
  • views for frontpage, user, image and login/register forms

Frontend and backend communicate through JSON

imgapp2's People

Contributors

jmk82 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.