npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

create-express-ts-api

v1.2.0

Published

<strong> <h1 align="center" >create-express-ts-api</h3> <p align="center"> <strong> A starter to kit for developing REST API in typescript and express. </p>

Downloads

9

Readme

Licence NodeJS TypeScript Prisma Express.js

restapi



Getting Started

Follow the instructions to initialize your express-ts-api project using this starter kit:

Prerequisites

Install NodeJS LTS

  • npm

    npm install npm@latest -g

Initializing the project

  1. Initiate your project by using the following npm command:

    npx create-express-ts-api  <project-name>

    example : npx create-express-ts-api Firstapi

  2. Install NPM packages

    npm install

    After this follow the steps to setup the Development DB: Setting up Development DB

Note **If facing any issues, feel free to raise a issue or head towards Contact section **

  1. Start the server by running the following command

    npm run dev

Tech Stack Used


Setting up Development DB

To setup the DB follow the steps:

  1. To set up the development DB make sure you have docker and docker-compose installed in your system.

  2. Add a .env file at the root of the project and add a Database URL in the file

PORT=3000
DATABASE_URL="postgresql://johndoe:randompassword@localhost:5432/mydb"

To Trigger the Development DB Setup run following commands

npm run dev:db
npm run db-generate

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Refer to this Contribution.md if you have any difficulty in making a pull request

License

Distributed under the MIT License. See LICENCE for more information.


Contact

Sarthak Jain - @sarthakjdev

Email Id : [email protected]

Discord : Sarthak Jain#2443

LinkedIn: LinkedIn


Documentation

To know more details about it refer to the blog: Hashnode