Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jugshaurya/mlp
https://github.com/jugshaurya/mlp
bcryptjs dotenv express express-jwt jsonwebtoken nextjs nodejs reactjs
Last synced: 21 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jugshaurya/mlp
- Owner: jugshaurya
- Created: 2020-03-02T09:55:08.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T08:49:11.000Z (about 2 years ago)
- Last Synced: 2024-10-31T16:08:21.143Z (2 months ago)
- Topics: bcryptjs, dotenv, express, express-jwt, jsonwebtoken, nextjs, nodejs, reactjs
- Language: JavaScript
- Size: 1.47 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Learning [NEXT.js](https://nextjs.org/learn/basics/)
🐳 Next.js is a react framework means it consist of all the functionality that we
may require anytime during app development by wrting the javascript in form of
React JSX, component, Declarative, state, props way.🐳 Next.js is used for serving react code to browser but by the means of Server side Rendering. Cool Intro right!
🐳 Also by default Next.js is made to be deployed over Zeit Now, Hey! that is what i like the most and struggled the most in recent times.
🐳 Next has only two required directories `/pages` and `/public`
# [Setup](https://nextjs.org/learn/basics/getting-started/setup)
npm init -y
npm install react react-dom next
mkdir pages // next needs a page directory with it to work### Start Client
npm run dev
### Start Server
npm start
- Link of react router dom is on 'next/link'
```
About Page
```- @hapi/joi - The most powerful schema description language and data validator for JavaScript.
- express-jwt to validate jwt
- jsonwebtoken - to create a jw-token## Environment variables in next.js
#### Not working
```
- https://nextjs.org/docs/api-reference/next.config.js/environment-variables- Note: Trying to destructure process.env variables won't work due to the nature of webpack DefinePlugin.
#### working
- https://nextjs.org/docs/api-reference/next.config.js/runtime-configuration
```
## App has
- list of series
- list of tags to classified series