Giter VIP home page Giter VIP logo

jfoyarzo / skateparkapp Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 0.0 2.72 MB

App that enables users to sign up in a fictional Skate event and login afterwards using JWT authentication. Backend made with the Express framework for Node

License: MIT License

JavaScript 22.59% HTML 33.59% CSS 2.42% Handlebars 41.40%
bootstrap expressjs jwt jwt-token nodejs postgresql postgresql-database api api-client api-rest

skateparkapp's Introduction

๐Ÿ“— Table of Contents

๐Ÿ“– Skatepark App

Skatepark App is a full-stack app that enables users to sign up for a fictional Skate event. The users and their info is displayed on the homepage of the front end. It has an admin view where you can authorize the registration of users. The backend is an API REST server made with Node.js and the Express framework. Express-Handlebars is used to render the pages dynamically and the data is persisted using a PostgreSQL database.

๐Ÿ›  Built With

Tech Stack

Frontend
Backend
Database

Key Features

  • Signup using your email, name, password and signature movement!
  • Log in to your account for more options. Uses JWT for authentication.
  • Admin view for confirming new users.

(back to top)

๐Ÿš€ Live Demo

(back to top)

๐Ÿ’ป Getting Started

To get a local copy up and running, follow these steps.

Prerequisites

To run this project you need:

  • Node.js
  • ExpressJS
  • PostgreSQL
  • Handlebars

Setup

Clone this repository to your desired folder:

git clone [email protected]:jfoyarzo/SkateparkApp.git

For this app to work you need PostgreSQL. To create the database using the psql shell:

CREATE DATABASE skatepark;

And create a table using this command:

CREATE TABLE skaters (id SERIAL, email VARCHAR(50) NOT NULL, nombre VARCHAR(25) NOT NULL, password VARCHAR(25) NOT NULL, anos_experiencia INT NOT NULL, especialidad VARCHAR(50) NOT NULL, foto VARCHAR(255) NOT NULL, estado BOOLEAN NOT NULL);

Also, you must provide valid credentials and port on file consultas.js or use the provided .env.example file.

Install

Install this project's dependencies with:

npm install

Usage

To start the server use the following command:

node index.js

This will serve the frontend on:
http://localhost:3000

To access the admin view:
http://localhost:3000/admin

(back to top)

๐Ÿ‘ฅ Authors

๐Ÿ‘ค Felipe Oyarzo

(back to top)

๐Ÿ”ญ Future Features

  • Upgraded CSS styles
  • Better notifications
  • Admin feature

(back to top)

๐Ÿค Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

โญ๏ธ Show your support

If you like this project please give it a โญ!

(back to top)

๐Ÿ“ License

This project is MIT licensed.

(back to top)

skateparkapp's People

Contributors

jfoyarzo avatar

Stargazers

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