GithubHelp home page GithubHelp logo

cdoru / ark Goto Github PK

View Code? Open in Web Editor NEW

This project forked from saltyshiomix/ark

0.0 2.0 0.0 237 KB

An easiest web app template on top of nest, TypeORM, Next.js and Material UI.

License: MIT License

TypeScript 99.81% JavaScript 0.19%

ark's Introduction

An easiest web app template on top of nest, TypeORM, Next.js and Material UI.

Features

  • Database synchronization with entities - powered by TypeORM
  • Server Side Rendering - powered by Next.js
  • API server - powered by nest
  • User authentication - powered by Passport
  • Material UI design
  • Environment viriables using dotenv

Technologies

  • Lang
  • Database
    • PostgreSQL - The World's Most Advanced Open Source Relational Database
  • ORM (Object-relational mapping)
    • TypeORM - ORM for TypeScript and JavaScript (ES7, ES6, ES5)
  • Server
    • nest - A progressive Node.js framework for building efficient, reliable and scalable server-side applications
      • internally using Express - Fast, unopinionated, minimalist web framework for Node.js
    • Next.js - The React Framework
  • Environment variables
    • dotenv - Loads environment variables from .env for nodejs projects
  • User authentication
    • Passport - Simple, unobtrusive authentication for Node.js
  • UI framework
    • React - A JavaScript library for building user interfaces
    • Next.js - The React Framework
    • Material UI - React components that implement Google's Material Design.

Setup

# install database (postgresql)
$ brew install postgresql

# if you want to start postgresql in startup, try do this
$ brew services start postgresql

# create user "arkuser" with password "arkark"
$ createuser -P arkuser

# create database "arkdb" owened by "arkuser"
$ createdb arkdb -O arkuser

# install dependencies
$ yarn

# development mode
# please make sure to create the `.env` file!
$ yarn dev

# production mode
# please make sure to create the `.next/.env` file!
$ yarn build
$ yarn start

Roadmaps

  • Security: environment variables
  • Database: auto synchronization with entities
  • Server: integration between nest and Next.js
  • API: define JSON API routes (if needed)
  • UI: integration between Next.js and Material UI
  • UI: top page
  • UI: user profile page
  • Auth: passport-local (email & password)
  • Auth: passport-github2 (GitHub login)
  • Auth: passport-twitter (Twitter login)
  • Test: unit tests
  • Test: e2e tests

ark's People

Contributors

saltyshiomix avatar

Watchers

 avatar  avatar

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.