Giter Site home page Giter Site logo

sussexstudent / website Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 13.26 MB

๐ŸŒ frontend + falmer admin + app

Home Page: https://sussexstudent.com

License: MIT License

CSS 12.09% JavaScript 5.36% HTML 0.30% TypeScript 81.21% Java 0.27% Ruby 0.28% Objective-C 0.42% Starlark 0.06%
website msl sussex students-union

website's Introduction

sussexstudent.com

The University of Sussex Students' Union website frontend.

Components & assets

/src contains frontend assets. Generally focused around a component based architecture.

Stying

  • Post-processed via PostCSS, (largely using cssnext plugins and some custom mixins)
  • BEMish
  • No linting yet! :O

JavaScript

  • TypeScript

We've written a helper library for managing our workflow.

Comp aids in a) developing our site locally, b) deploying our site.

Projects

website src/projects/website

Our main website, sussexstudent.com.

  • Entire site is built as a statically rendered React application, any component can opt in to be 'hydrated' on the client for interactivity.
  • Coding splitting of 'modules' where possible
  • Polyfilling via the FT's Polyfill.io service

falmer src/projects/falmer

Admin management single page application for Falmer our services api (sussexstudent/falmer).

app src/projects/app

Toy, experiment mobile application consuming falmer's api. Uses React Native.

Getting started

Developing

Install dependencies with

$ yarn

This might take a little while as this gets everything used for the building the frontend, used in the frontend and dependencies for the generator too.

We use Webpack to build and bundle our assets. The generator has proxying and local page capabilities. Start the development server with

$ yarn run serve

Woo! Have a gander at http://localhost:3002.

This is sussexstudent.com using locally built assets and a locally generated base template. The content is proxied from the live site.

To aid in developing pages, locally rendered pages can be accessed under the /~/ path, for example http://localhost:3002/~/get-involved - this uses generators get-involved template to build this file.

Deploying

Deploying requires for your working directory to be clean This is to ensure the release revision via git is correct.

$ yarn run deploy

Deploy will build the assets for production and upload them to the CDN. After the generator will run. Within the website admin, the templates should be updated as the generate instructs, automatically putting the templates on your clipboard.

website's People

Stargazers

 avatar

Watchers

 avatar

Forkers

brudil

website's Issues

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.