Code Monkey home page Code Monkey logo

marthe_hilde_octft22_jss's Introduction

JavaScript Server - Course assessment 1

Introduction

This application is a web-based platform that allows users to view and interact with memes. The application has a login functionality, allowing users to access additional features such as seeing the details of each meme.

Installation

To install the application, follow these steps:

1. Clone the repository to your local machine.
2. Navigate to the project directory.
3. Run npm install to install the project dependencies.
4. Set the API_URL environment variable to the Imgflip API URL.

This web application makes use of the following:

- Node.js
- Express.js
- EJS
- Bootstrap
- Bootstrap-Icons
- jQuery
- Passport.js
- Typed.js
- Express-session
- Express-session-json

Usage

To run the application, run the following command:

npm start

Once the application is running, users are navigated to the homepage to view the available memes. Guests can only see the basic information about each meme, while logged-in users can view more detailed information about each meme.

Users are stored in data/users.json, with username and password information. Session storage is saved using express-session and express-session-json to data/session.json, holding the id of memes that the user has accessed through the detailed page. This will restore to a default session after logging out of the application.

APIs

The app uses Imgflip API's free version to fetch data and generate a table with 100 meme templates.

marthe_hilde_octft22_jss's People

Contributors

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