Setup

Installing DashPress.


  1. Have Node.js installed

  2. Create a new folder then run

npx dashpress 
  1. Go to http://locahost:3000 to see your fully functional internal tool

  2. For the first time you will be asked to provide your database credentials and create your root admin account

:::tip Is that all?

Yes!, No SQL, No Javascript, No tutorial and all under 59 seconds!

:::

Frequently Asked Questions

Before you ask, The answer is Yes!. There are some magic underneath to make the installation so simple.

Here are some of the questions we get asked when users are bewildered by the simple installation process.

Where does DashPress store the credentials and account details

DashPress by default stores all configuration in JSON files in the same folder you are running the npx dashpress command. You can set it to be stored in memory, database or redis. More on this in the next section.

Are my credentials stored securely

Yes!, All credentials are encrypted at rest with aes-256-gcm

How do I get future updates

As long as you use npx dashpress then npx will always check for updates and use the latest to run the application so you will always be running the latest version of DashPress. There is no other step from you.

How can I create a new DashPress Project

Create a new folder and run npx dashpress there.

How can I run DashPress on a different PORT

You can change the default port 3000 by setting PORT in your environment variable

After running npx dashpress how do I run the application again

cd path/to/project/folder && npx dashpress

Can I update my database credentials

No! and we strongly advise against trying to do that, Creating a new project will always be the easiest way to go about it.

A .env.local file is created for every DashPress installation. If you want to get the best of your installation then kindly go to the next section.