front-end application for JessArt
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
tools
.eslintrc
.gitignore
.travis.yml
README.md
example.jpg
nodemon.json
package.json
yarn.lock

README.md

Overview

Build Status

This is a source code for web application at jess.gallery.

Example

There is no sensitive information in this repository, so it is fully opened – feel free to run and play with it. Unfortunately, there is no documentation for API, but you can look at the code here.

Start

npm run start # starts a webpack-dev-server

There is also a nodemon if you want to serve files from actual express.js server, like in production, but I don't feel it is a super helpful feature (it adds some delay).

To build the project:

npm run build:prod

Linting

I use eslint with fully custom rules. It can be run via command:

npm run eslint

Testing

I use ava library. For now there are almost no tests, because components and the single store are the only subjects for testing.

npm run test

Libraries

This is an isomorphic application built in React.js, with dynamic prefetch of needed resources, for better mobile access and SEO. It uses mobx instead of de-facto standard Redux approach, due to my interest to this technology and also due to the fact, that this should be quite small project – so far it shows itself as much more lightweight and less strict solution.

For bundling I use webpack and webpack-dev-server for development, which with react hot reload preset gives wonderful development experience. I use PostCSS mostly out of curiousity, because I feel that all modern CSS processors are capable about basically the same possilities. Maybe PostCSS is more flexible, but definitely it requires more setup.