Git Product home page Git Product logo

qode-submission's Introduction

Qode Test Submission

This project is used to upload and give comment to photo like instagram

Overall Project decision explanation

  1. why i use pnpm, instead of other package manager, ?, it's about speed and disk efficiency, Reference, pnpm is the fastest even without lock file. Pnpm uses symlinks to add only the direct dependencies of the project into the root of the modules directory. Reference
  2. Why i use postgresql, because postgresql has good performance for querying data, and free

How to run in Development mode

please take a note, this project crafted with pnpm, so the module version locked with pnpm-lock.yml. To prevent unexpected error because different library version you've installed, i recommend to use pnpm or import the lock file to your prefered package manager

  1. Clone the repo
git clone https://github.com/mkhotib20/qode-submission.git
  1. Backend Setup - Copy .env.example as .env, and input your prefered config
cd backend
cp .env.example .env
  1. Backend Setup - Install dependencies
<!-- From backend directory -->

pnpm install
or
yarn install
or
npm install
  1. Run server (this server used to run fake backend from json datasource, so that we can sort and manipulate the data inside server code)
<!-- From backend directory -->
pnpm run dev
  1. frontend setup - Copy .env.example as .env.local, and input your prefered config
cd frontend
cp .env.example .env
  1. frontend setup - Install dependencies
<!-- From frontend directory -->

pnpm install
or
yarn install
or
npm install
  1. Run server (this server used to run fake frontend from json datasource, so that we can sort and manipulate the data inside server code)
<!-- From frontend directory -->
pnpm run dev

qode-submission's People

Contributors

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