Giter Club home page Giter Club logo

lsug-website's Introduction

LSUG website

Overview

This is the source code for the London Scala User Group website which is a non-profit CIC (Community Interest Company). Both the HTTP server and website are written using the Scala Programming Language and are licensed under the copyleft license GPLv3.

Getting started

This project requires mill, npm and yarn to run. You'll also need git to clone the repository and ideally metals set up with Visual Studio Code, IntelliJ IDEA or an IDE of your choice.

Once setup with the prerequisites, you can run the HTTP server locally on localhost with:

mill -w web.run

This will start a background process, so that any changes you make will be reflected in the running server.

If you're only change the website and not the HTTP server, you can run the following to keep the HTTP server alive when the website updates:

mill web.run
mill -w web.bundle

The project has four modules,

  • client which contains the website code
  • server which is responsible for serving the website and HTTP resources
  • protocol which contains the code shared between the two
  • web which is used for deployment and contains certain static assets

Design

The LSUG website has been written in idiomatic functional scala. The number of dependencies has been deliberately kept low and certain design decisions to provide a good case study of how to use certain scala constructs and libraries. Performance is of a lesser concern.

Certain parts of the codebase are deliberately more or less advanced. Where possible, these are segregated into their own packages

Package Description Difficulty
lsug.parsec Port of megaparsec to demonstrate CPS and Monad Transformers Advanced
lsug.decoders Decoders using monocle lenses to demonstrate optics Intermediate
lsug.http Using http4s to create a web server Beginner
lsug.meetup Using http4s to call APIs Beginner

Code of Conduct

The project is maintained by the organizers of LSUG and we are committed to providing a friendly, safe and welcoming environment to everyone. We ask that the community adheres to the Scala Code of Conduct.

Acknowledgements

Many thanks to the many library authors and maintainers which have made this project possible.

lsug-website's People

Contributors

yilinwei avatar zainab-ali 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.