Giter Club home page Giter Club logo

next-crud's Introduction

Challenge

NextJS Fullstack App

A Fullstack web application that allows employees to submit feedback. Integration with TypeScript, SQLite, Next.js, and Prisma.

User Stories

  • The user needs to authenticate with GitHub to create a new feedback.
  • The application composes of the Reviews and Drafts area.
  • When the user sent feedback, they can have a draft and decide to publish it later on.
  • The user can delete their posts from both Reviews and Drafts area.

Challenge Scope

  • Dynamic API Routes
  • Web app
    • Align React App with Chakra UI
    • Server-side Rendering with Next.js
    • Integrate Prisma to store our users and their sessions in SQLite database
    • Concern the authentication with NextAuth.js
  • E2E Testing
    • End to End tests with Cypress testing framework

App Details

Instructions

  1. Clone the project repository: git clone [email protected]:ytliuSVN/next-crud.git
  2. Navigate to the project folder: cd next-crud
  3. Install all the dependencies of project: yarn install
  4. Start the app in the development mode: yarn dev

Open http://localhost:3000 with your browser to see the result.

Loading Environment Variables

Copy and setup environment. An example .env:

SECRET=RANDOM_STRING

GITHUB_ID=
GITHUB_SECRET=

Run the test

There are two ways you can run the test:

Opens the Cypress Test Runner in the browser.

yarn cypress:open

Runs Cypress tests to completion.

yarn cypress:run

next-crud's People

Stargazers

 avatar  avatar  avatar

Watchers

 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.