https://github.com/jfoyarzo/skateparkapp
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
https://github.com/jfoyarzo/skateparkapp
api api-client api-rest api-server bootstrap express-handlebars expressjs jwt jwt-token nodejs postgresql postgresql-database
Last synced: 9 months ago
JSON representation
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
- Host: GitHub
- URL: https://github.com/jfoyarzo/skateparkapp
- Owner: jfoyarzo
- License: mit
- Created: 2022-10-14T21:52:55.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-17T18:49:12.000Z (about 3 years ago)
- Last Synced: 2025-09-13T15:07:53.971Z (10 months ago)
- Topics: api, api-client, api-rest, api-server, bootstrap, express-handlebars, expressjs, jwt, jwt-token, nodejs, postgresql, postgresql-database
- Language: Handlebars
- Homepage:
- Size: 2.66 MB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 📗 Table of Contents
- [📗 Table of Contents](#-table-of-contents)
- [📖 Skatepark App ](#-skatepark-app-)
- [🛠 Built With ](#-built-with-)
- [Tech Stack ](#tech-stack-)
- [Key Features ](#key-features-)
- [🚀 Live Demo ](#-live-demo-)
- [💻 Getting Started ](#-getting-started-)
- [Prerequisites](#prerequisites)
- [Setup](#setup)
- [Install](#install)
- [Usage](#usage)
- [👥 Authors ](#-authors-)
- [🔭 Future Features ](#-future-features-)
- [🤝 Contributing ](#-contributing-)
- [⭐️ Show your support ](#️-show-your-support-)
- [📝 License ](#-license-)
**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.
Frontend
Backend
Database
- **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.
- [Live Demo Link](https://skatepark-app.onrender.com/)
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 git@github.com: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
👤 **Felipe Oyarzo**
- GitHub: [@jfoyarzo](https://github.com/jfoyarzo)
- LinkedIn: [LinkedIn](https://www.linkedin.com/in/jorge-felipe-oyarzo-contreras/)
- [ ] **Upgraded CSS styles**
- [ ] **Better notifications**
- [ ] **Admin feature**
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](https://github.com/jfoyarzo/SkateparkApp/issues).
If you like this project please give it a ⭐!
This project is [MIT](./LICENSE) licensed.