Giter Club home page Giter Club logo

api.epi.today's Introduction

api.epi.today

Rust Docker Hub

This is a rewrite of a my project epi.today in the effort of separating the back-end from the front-end.

It's my first project in rust, so if you find bad code that could be rewritten don't hesitate to open an issue!

development

Run cargo build to compile the project.

You can run the debug version of the project with cargo run.

The listening port is 4242.

โš ๏ธ Warning: The server listens on http only, which means that zero bytes will be encrypted!
There is confidential data that will be transferred between the client and the server, please keep security in mind when deploying.

deployment

binary

Run cargo build --release to compile the project ready to be released.

The binary will be available in ./target/release/api-epi-today.

docker

When building the Dockerfile, the server is compiled with the musl library and statically linked, in order to make the server portable and keeping the Docker image small.

The docker image is available on Docker Hub (please don't use the one in the GitHub registry).

Start the server in a container as a daemon with docker run -d --restart unless-stopped --name api-epi-today x4m3/api-epi-today.

Stop the container with docker stop api-epi-today.

api.epi.today's People

Contributors

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