Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/iampavangandhi/mywaysassignment

📘 MyWays Coding Assignment - Login / Landing Page with Database and Authentication.
https://github.com/iampavangandhi/mywaysassignment

hacktoberfest landing login-system mongodb nodejs reactjs

Last synced: about 22 hours ago
JSON representation

📘 MyWays Coding Assignment - Login / Landing Page with Database and Authentication.

Awesome Lists containing this project

README

        

# MyWays Coding Assignment

### This repo contains a basic implementation of the following tasks:

1. User registration / sign up (with OTP)
2. User login
3. Forgot / Reset Password
4. Logout

### Config Keys

```javascript
// Frontend
REACT_APP_URL=XXXX (For Development: "http://localhost:4000/")

// Backend
DATABASE_URI=XXXX
SECRET=XXXX
SENDGRID_API_KEY=XXXX

```

- `SECRET` is the JWT Secret.
- `SENDGRID_API_KEY`: I used sendgrid service to send OTP mails.

### Build Setup

```javascript
// To Install Client Dependencies
"client-install": "npm install --prefix client",

// Start the server
"start": "node server.js",

// Start the server (with nodemon)
"server": "nodemon server.js",

// Start the client server (react server)
"client": "npm start --prefix client",

// Start both servers concurrently
"dev": "concurrently \"npm run server\" \"npm run client\""
```