Coder Social home page Coder Social logo

n11-case-study's Introduction

n11-case-study

author: Ulaş Rotinda Güler

This project is a demo e-commerce Dashboard. The project exchanges data using a mock API. All data within the project is provided by the mock API.

Setting Up the Development Environment

To run this project, you need to have Node.js and npm installed on your computer. If not installed, you can download and install from Node.js.

After downloading the project files, open the terminal in the directory where the project is located and run the following command:

yarn install

Then you can run the following command to bring up the project:

yarn start

After bringing up the project, you can see the project by going to http://localhost:3000 in your browser.

Technologies Used

Project Structure

The project has the following structure:

  • N11-CASE-STUDY/: The root folder of the project.

    • public/: Contains the static assets that will be used at runtime.
    • src/: The source directory where the main codebase is located.
      • assets/: This directory holds all the resources like images, fonts, etc.
      • components/: Folder where reusable UI components are stored.
      • constants/: Contains files that define constant values for the application.
      • layouts/: Holds the layout components that form the structure of the application views.
      • pages/: Directory containing the components that represent full pages in the application.
      • utils/: Utility functions and helpers for the application are within this folder.
      • App.js: The main React component that acts as the root of your application.
      • index.js: The entry file to the application, where the React app is initialized.
      • index.scss: The primary stylesheet file for the application.
      • routes.js: Defines the routes for the application.
    • config-overrides.js: Used to customize configurations without ejecting the create-react-app.
    • yarn.lock: Yarn lockfile to ensure consistent installations across machines.

Unit Test

I was planned to write unit tests for the project. However, I could not write unit tests due to time constraints.

Notes

UI and UX

Communication with API

The React Query library was used for server-side state management. All API requests were made in the files located in the services folder. When API requests are successful or return an error, a notification is shown to the user. A library like Axios was not used as there was no need for any interceptor.

Router

The application was routed using the React Router Dom library. These are pages within the application:

  • Login page
  • Register page
  • Dashboard page
  • Error page

Challenges I Encountered

During the time I was working on this case study, I also had a full-time ongoing job and senior year university commitments. I tried to manage my schedule to make sure the project met all the requirements with best practices and ran smoothly. But with my schedule (work + school), it wasn't really possible for me to dedicate the time I wanted to. I progressed as much as I could when I had the opportunity, but I didn't reach the level I wanted, and I don't think it fully reflects my abilities. I wanted to mention this because it affected the process.

n11-case-study's People

Contributors

urg0 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.