Coder Social home page Coder Social logo

kweb-frontend's Introduction

Getting Started with Create React App

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

npm run eject

Note: this is a one-way operation. Once you eject, you can't go back!

If you aren't satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.

You don't have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

npm run build fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify

kweb-frontend's People

Contributors

honghyeong avatar

Watchers

 avatar

kweb-frontend's Issues

Auth 1 - Sign In Page

  • 처음에 보이는 초기화면
  • 아이디, 비밀번호, role 입력받음
  • 로그인 성공하면 landing page 로 이동

Auth - Sign Up Page

  • if you fulfill whole user required information and click signup button, then redirect to signin page

Lecture - Lecture List Page

  • 교수와 학생이 보는 페이지가 다르도록,
  • 학생은 수강신청가능, 교수는 강의등록가능

Abstraction

Auth

Home (/)

  • Landing Page & Login 가능 (아이디, 비밀번호, role) https://sugang.korea.ac.kr/
  • 로그인하면 접근 불가능
  • 로그아웃하면 접근 가능
  • NavBar : 사용법 안내 페이지, 강의 조회 페이지

Admin (/admin)

  • admin 으로 로그인하면 접근 가능
  • 강의 전체 조회
  • 교수 전체 조회
  • 학생 전체 조회
  • 게시물 전체 조회

SignUp (/signup)

  • 아이디, 비밀번호, 이름, 학번, 교수자/학생 여부 (button) 입력 받고 회원가입

Board (/lecture/lecture_id/board_id)

  • [ ]

Lecture (/lecture/lecture_id)

  • 강의 목록 조회 가능

Auth - Logout

  • if you click logout button, then jwt token in cookie expired

CSS

  • Auth
  • SignUp page
  • Lecture
  • Lecture/Instructor
  • Lecture/Student
  • Lecture/Instructor/Register
  • Board/List
  • Board/View
  • Board/Register

Error Handling & Button Toggle : Auth, Board, Lecture

Auth

  • 로그인이 성공하면 로그인 페이지로 이동할때 강의 리스트 페이지로 리디렉션된다.
  • 로그아웃한 경우, 강의리스트(전체, 학생별, 교수별), 게시물리스트(강의별) 접근 시도시 "잘못된 접근입니다" 를 출력하며 로그인 페이지로 리디렉션된다.

Lecture

  • 로그인이 성공하면, 전체 강의 리스트는 볼 수 있다.
  • 교수자는 학생의 강의 리스트를 보려고할 경우, 에러 메세지가 출력되며 강의 리스트 페이지로 리디렉션된다.
  • 학생이 교수의 강의 리스트를 보려고할 경우, 에러 메세지가 출력되며 강의 리스트 페이지로 리디렉션된다.

Board

  • 학생이 등록하지않은 강의의 게시물 리스트를 보려고할 경우(/board/lectureId), 에러 메세지가 출력되며 강의 리스트 페이지로 리디렉션된다.
  • 학생이 등록하지않은 강의의 게시물�을 보려고할 경우(/board/lectureId), 에러 메세지가 출력되며 강의 리스트 페이지로 리디렉션된다.
  • 학생이 게시물을 작성하려고 시도한다면(/board/register) 에러 메세지가 출력되며 강의 리스트 페이지로 이동한다.
  • 학생이 강의를 작성하려고 시도한다면(/lecture/instructor/register) 에러 메세지가 출력되며 강의 리스트 페이지로 이동한다.

Lecture - lecture

Each lecture should show information described below

  • lectureId
  • title
  • description
  • instructor name
  • register button

Navigation Bar & HOC

  • 로그인페이지에서는 보이지않는다.
  • 로그인하지않은 사용자는 전체 강의를 제외하고 모든 페이지에는 접근이 불가능하다.
  • 로그인한 사용자는 네비게이션 바를 볼 수 있다.
  • 네비게이션 바는 전체강의 ,나의 강의,로그아웃 버튼을 포함한다.
  • 나의 강의를 누르면, 교수는 자신이 개설한 강의를 볼 수 있으며, 학생은 자신이 신청한 강의를 볼 수 있다.

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.