Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project Setup #6

Closed
Mu7ammadAbed opened this issue Mar 25, 2021 · 0 comments
Closed

Project Setup #6

Mu7ammadAbed opened this issue Mar 25, 2021 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation Epic

Comments

@Mu7ammadAbed
Copy link
Member

Mu7ammadAbed commented Mar 25, 2021

[Project Setup]

Acceptance Criteria

  • File Structure
  • Server Setup
  • Client (React) Setup
  • ESLINT config

File Strucutre #5

Server Setup

  • Install modules :
    • express
    • jsonwebtoken
    • yup
    • dotenv
    • cookie-parser
    • compression
    • pg
    • nodemon
    • supertest
    • jest
    • eslint
    • pre-commit

Setup the server and make it listen on port 5000

React Setup

Generate react app for the client using command

npx create-react-app 
  • Install modules :

    • prop-types
    • react-router-dom
    • axios
    • antd
  • add Proxy to client package.json

"proxy": "http://localhost:5000/"

ESLINT config #10

  • ESLINT for the Client

        eslint
        eslint-config-airbnb-base
        eslint-plugin-import
        eslint-config-prettier
        eslint-plugin-prettier
        eslint-plugin-flowtype
        eslint-plugin-jsx-a11y
        eslint-plugin-react
        eslint-plugin-react-hooks
        prettier
  • ESLINT for the Server GET /api/v1/users/logout #10

        eslint
        eslint-config-airbnb
        eslint-plugin-prettier
        save-exact prettier
        eslint-config-prettier
        prettier
        eslint-plugin-jest

@Mu7ammadAbed Mu7ammadAbed added documentation Improvements or additions to documentation Epic labels Mar 25, 2021
hassanelnajjar added a commit that referenced this issue Mar 25, 2021
@hassanelnajjar hassanelnajjar mentioned this issue Mar 25, 2021
2 tasks
hassanelnajjar added a commit that referenced this issue Mar 25, 2021
hassanelnajjar added a commit that referenced this issue Mar 27, 2021
…ents and also remove some unnecessary scripts and packages from package.json

relates #5 #6
hassanelnajjar added a commit that referenced this issue Mar 27, 2021
hassanelnajjar added a commit that referenced this issue Mar 28, 2021
… it's controllers and connect every routes with it's own controllers

relates #5 #6
@hassanelnajjar hassanelnajjar mentioned this issue Mar 28, 2021
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation Epic
Projects
None yet
Development

No branches or pull requests

2 participants