My project:
- React (I use 
create-react-applibrary)- Use 
react-router-domusingBrowserRouter,Route&Switchimports. This allows me to go to different urls: for example, when I run my app on localhost,localhost3000is home. Part of my app's functionality is to randomly generate urls - for instance:localhost3000/123456orlocalhost3000/654321. 
 - Use 
 - Make changes to a database in Firebase's Realtime Database & uses Firebase's Auth.
 
What I need:
Free: since this app is a portfolio piece, I'm thinking all I need is any domain name that allows me to make use of
react-router-dom. For instance,www.anyname.comis home &www.anyname/123456.comis one of my routes.Not-free: If there's no ability to achieve what I want for free, then I'm happy to buy a domain-name and would appreciate suggestions of how I can go about this.
What I've researched:
- Netlify was suggested to me. I know it gives the ability to alter part of the domain name but I don't know if it'll display my 'routes' e.g. (
nameofmychoosing.netlify.appis home &nameofmychoosing/123456.netlify.appis one of my routes - would this work?). 
P.S. if this is not the right place to post this question, directing me to the right kind of forum'd be much appreciated.
EDIT: just discovered this and this which say I need to make a slight modification to get netlify to work with react-router-dom.