Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

Ammar-alnatsheh
Copy link

1 - Following David files structure suggestion, I am initializing the admin interface files structure and named the following based on the existed pages "Covid and About" structure considering the case sensitive names

a. Create another pages folder inside app/pages/Admin

  • Create Categories folder
    -Create components folder (Create all components here after)
    -Categories.jsx
    b. Create index.js
    c. Create Admin.jsx

2 - Link the admin page to the system by adding the /admin path to the routes.jsx

3 - create a simple Admin component in the Admin.jsx and display "initialize the Admin page" text to make sure the system in linked properly to the admin page and its up, ready to be served to the client

4 - create a simple Categories component in the Categories.jsx and display "initialize the Categories page" text to make sure the system in linked properly to the admin page and its up, ready to be served to the client

5 - Create Admin.module.scss file to add all the Admin style CSS to it

6 - Create fake_data.js in the Categories folder to simulate the server behavior for dev purpose

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants