Skip to content

mbchoa/lil-shorty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🩳 shorty

A little weekend project/challenge to create my own URL shortener. I was inspired by Coding Garden with CJ who built one during his live stream. You can check it out here!

I was mainly interested in learning to use the following libraries/frameworks I haven't used before:

Development

  1. Create a free tier MongoDB cluster with MongoDB Atlas.
    • Save the MONGODB_URI connection string
    • Make sure to whitelist IP addresses you expect to connect to the database cluster
  2. Create a .env file in the root directory of your project
    • Add a PORT variable where the Node server will accept requests
    • Add a MONGODB_URI variable with the previously saved connection string
  3. Run npm run dev to spin up Fastify server
  4. Visit http://localhost:3000

Releases

No releases published

Packages

No packages published