Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alianza/tricks
This application allows skateboarders to be able to track what tricks they've learned and log them in their personal dashboard.
https://github.com/alianza/tricks
mongodb mongoose nextjs skateboarding
Last synced: 8 days ago
JSON representation
This application allows skateboarders to be able to track what tricks they've learned and log them in their personal dashboard.
- Host: GitHub
- URL: https://github.com/alianza/tricks
- Owner: alianza
- Created: 2022-12-23T21:48:51.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-07T23:43:23.000Z (9 days ago)
- Last Synced: 2024-11-08T00:28:37.311Z (9 days ago)
- Topics: mongodb, mongoose, nextjs, skateboarding
- Language: JavaScript
- Homepage: https://tricks.jwvbremen.nl/
- Size: 1.24 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Skateboard Tricks Tracker
This projects demonstrates using authentication and an external database for a highly interactive progressive web application.
It is a full-stack Next.js project featuring multiple pages, an Api with middleware and multiple OAuth services to sign in with & persistent data in a NoSql database.
The database is a headless MongoDB instance and the Mongoose is used for Object Data Modelling (ODM) and additional validations.
For the front-end I used TailwindCSS and my own `react-transition-scroll` library for adding pleasant animations when elements are scrolled into the viewport.This application allows skateboarders to be able to track what tricks they've learned and log them in their personal dashboard.
The dashboard features multiple pages, forms to add new tricks, Dynamic tables with CRUD functionalities, and it is installable on the users device (Progressive Web Application).
Tricks are organized per type. And the application features fast performance, a simple and easy to use user interface and smooth animations.## How to use
Install the dependencies
```bash
npm install
```Copy the `.env.local.example` file in this directory to `.env.local` (which will be ignored by Git):
```bash
cp .env.local.example .env.local
```Then set each variable on `.env.local`:
- `MONGODB_URI` should be the MongoDB connection string. ([MongoDB Guide](https://docs.mongodb.com/guides/server/drivers/))
- Add your own OAuth credentials for Google, GitHub etc.Run the development server
```bash
npm run dev
```Open [localhost:3000](http://localhost:3000) with your browser to see the result.