Skip to content

evolu@0.11.0

Choose a tag to compare

@github-actions github-actions released this 08 Feb 20:14
· 2771 commits to main since this release
b5666c5

Minor Changes

  • d010dea: Add createExpressApp

    Now everybody can run their own Evolu sync&backup server.

    import { createExpressApp } from "evolu/server";
    
    const app = createExpressApp();
    
    app.get("/ping", (req, res) => {
      res.send("ok");
    });
    
    // eslint-disable-next-line turbo/no-undeclared-env-vars
    const port = process.env.PORT || 4000;
    
    app.listen(port, () => {
      // eslint-disable-next-line no-console
      console.log(`Server is listening at http://localhost:${port}`);
    });