GithubHelp home page GithubHelp logo

alexandrite's Introduction

Introduction

This is a Next JS web application to display product from Odoo so that buyer can make a request to purchase.

Table of Contents

Getting Started

In order to run this app on your local machine, you need to do the prequisites

Prerequisites

Install to Local Machine

Run the following commands to build an apk and install it on your device.

# copy example of env file
> cp .env.local.example .env.local

Edit the NEXT_PUBLIC_BASE_API_URL in file .env.local with url of dev/stag/prod base api url.

# Install dependencies
> yarn

# Build app and made it available on http://localhost:3000/
> yarn dev


# Test app with unit test you have been create
> yarn test

# Format the code you just added
> yarn format

Files/Folder Structure

Here is a brief explanation of the template folder structure and some of its main files usage:

└── __tests__            # unit test file for files in pages.
└── .docker              # CD (Continuous Delivery) config using jenkins
└── components           # general components used in apps
│   └── __tests__        # unit test file for files in components.
└── json                 # hardcoded data files
└── pages                # all screen in apps
└── public               # files that exposed to public
└── styles               # redux
│   └── global.scss      # global css
└── .eslinrc             # eslint config and rules.
└── .gitignore           # ignored files in Git.
└── .gitlab-ci.yml       # gitlab pipelines config for CI (Continuous Integration).
└── .prettierignore      # ignored files for prettier.
└── .prettierrc          # prettier config and rules.
└── constants.js         # constants used in apps
└── next.config.js       # next js config
└── package.json         # Package metadata and scripts
└── useFallbackImageInSSR.js # file used to display default image
└── webpack.config       # webpack config
└── yarn.lock            # Package metadata generated by yarn.

Built With

alexandrite's People

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.