Coder Social home page Coder Social logo

limehome-full-stack-challenge's Introduction

Information

Single repository, containing both the client and the server with one 'package.json' file and one 'node_modules' folder. For testing the nodejs dependent files I used the Mocha testing framework and the supertest testing module. For the browser dependent files I used Jasmine + Karma(the Angular CLI setup). For the database I used PostgreSQL and TypeORM.

API Documentation

https://limehome-interview-challenge.herokuapp.com/api-docs

keywords

Angular, Express, PostgreSQL, TypeORM, fp-ts, io-ts, Mocha, Jasmine, Karma, supertest, Swagger

Known issues

The swiper would not work on some devices, because I restricted myself of using third party module like Swiper.js. I ended up using the 'IntersectionObserver' API, but it shows that it does not work on some devices and needs additionally tweaking. It is working on the latest chrome desktop version, with the mobile inspector on.

Instalation

The project uses yarn instead of npm. The project was developed and tested on Node 14.x.x and Typescript 4.x.x Just run the command 'yarn' to install all dependencies.

You will also need to specify environment files for each stage.

setup environment files

and each .env file needs to have these properties

.env file

The node applications pick the environment file, based on the process.NODE_ENV, so to specify which environment file you want to use. You have to specify it with setting the NODE_ENV environment variable prior running a command. Example on Linux and Mac:

'NODE_ENV=production yarn watch-server'

After you are done, you can run yarn build to build the server and then the client. If the building succeed, you can run yarn start to start the application.

Additional commands:

yarn watch-client - starts the client in development mode

yarn test-client - tests the client

yarn lint - checking for any linting errors

yarn watch-server - starts the server in development mode

yarn test-server - runs all .node.spec.ts tests on Mocha

limehome-full-stack-challenge's People

Contributors

dragomir-parvanov avatar

Stargazers

Taras Ivaniuk 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.