Code Monkey home page Code Monkey logo

satpam's Introduction

Satpam

Satpam is a secure authenticator and trusted password manager. Built with Next.js, Prisma, and Mantine UI.

Prerequisites

Installation

  1. Clone the repository

    git clone [email protected]:mgilangjanuar/satpam.git && \
    cd satpam
  2. Install dependencies

    yarn
  3. Create .env file

    cp .env.example .env

    Edit the .env file with your configuration.

  4. Migrate database

    yarn prisma migrate deploy
  5. Build and run the server

    yarn build && \
    yarn start

    Or, you can run the server in development mode

    yarn dev

Environment Variables

Name Description Default Required
DATABASE_URL Database URL. Eg, postgresql://localhost:5432/satpam?schema=public. - Yes
SMTP_URL SMTP URL. Eg, smtp://username:[email protected]:587. - Yes
EMAIL_FROM Email sender. - Yes
BASE_URL Base URL. - Yes
SECRET_KEY Secret key. Random string. - Yes
ENCRYPT_KEY Encryption key. Random string. - Yes
SALT Salt. Random string. - Yes
DIGEST Digest algorithm. The options: string-crypto. - Yes

License

MIT License

satpam's People

Contributors

mgilangjanuar avatar

Stargazers

Sinar avatar Software Nerd avatar yehezkielgunawan avatar ꦫꦶꦤꦺꦴ avatar M. Zakiyuddin Munziri avatar Fiqry choerudin avatar Razan avatar Agustinus Nathaniel avatar Lazarus avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

fairhopeweb

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.