GithubHelp home page GithubHelp logo

ecwk / authentication-app Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 258 KB

An authentication app based on devchallenges.io.

License: MIT License

JavaScript 1.53% Shell 0.09% TypeScript 98.25% CSS 0.13%
github-actions mongodb mongoose nestjs nextjs turborepo typescript

authentication-app's Introduction

Authentication App

This is a login app based on the devchallenges.io authentication app wireframe

Features

  • OAuth login with Google and Github
  • Image uploads with S3 Buckets
  • View and edit profile
  • Persistent login with Passport.js
  • Context API
  • Server and client-side validation
  • Popular react hook libraries (includes React Hook Form and React Query)
  • Built using Turborepo, a monorepo build tool
  • Implemented CI/CD with Github Actions

What's inside?

Tech Stack

Frontend

Backend

  • Nestjs, a backend web framework powered by Express.js
  • MongoDB, a document-oriented database

Folder Structure

  • apps/api: API powered by nest.js
  • apps/web: web app powered by next.js
  • packages/prettier-config: prettier configurations
  • packages/scripts: scripts used throughout the monorepo (includes custom-commit for formatting git commits)

Utilities

How to Setup?

Prerequisites

Configuration

Refer to .env.example in both apps/api and apps/web directories and create a .env file in each.

  • apps/api uses .env
  • apps/web uses .env.local

Alternatively, you can use setup environmental variables in your system

Start the App

For Development

To develop all apps and packages, run the following command:

# Ensure that NODE_ENV=development
cd authentication-app

pnpm dev

For Production

To start the app for production, run the following commands:

# Ensure that NODE_ENV=production
cd authentication-app

pnpm prod

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.